httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Nicholls <gnicho...@level8.com>
Subject Re: [PATCH] win32/sockets.c - remove select in connect routine
Date Wed, 20 Sep 2000 19:22:57 GMT
>

 OK this is different for Win32 (or NT at least). If the connect fails you can pick this up
using the
except fd set.
If you find your socket in the write set, the connect (by definition) worked. I have no idea
what'll
happen if you do another connect, I might experiment a bit and see if it can be made to work
the way Unix
does.
    G.

>
>
> We don't know whether or not the connect was successful.  On Unix, it
> is normal to call connect() again once select() pops; the retcode from
> connect() tells us whether or not the connection was established.
>


Mime
View raw message