At 06:16 AM 4/19/2002, Jeff Trawick wrote:
"Mladen Turk" <[EMAIL PROTECTED]> writes:
> Hi,
>
> Dunno if I miss something, but the server/client test on WIN32 doesn't
work.
> Well, as far I've been able to track the things down the non-blocking
> sockets are the bugger.
It seems to me that server.c is a bit naive in thinking that data will
be available as soon as it accepts a new connection. You could add a
poll for data available before the apr_recv() in the server.
Or... is this running on WinXP (or possibly, Win2K?) There is a rather big
nonblocking socket driver bug, see /dist/httpd/binaries/win32/ and follow the
"XP Users Read Me First" dialog, where I've cited the Q article that Allan's
research led to.
Bill