non blocking sockets

Irio Lavagno irio.lavagno@torino.alpcom.it
Wed May 14 07:20:00 GMT 1997


Hello,

It seems that sockets can't be made non-blocking in cygwin32 b17 under
winNT 4.0, is it just me or is it true ?

I have a program which makes an accept on a non blocking socket, on my
linux machine the accept exits with errno set to EWOULDBLOCK, on my NT
machine it just blocks until it receives a connection request.

If needed I can post the code, the socket is made non-blocking with a
fcntl(sockid,F_SETFL,O_NONBLOCK), so could it be that this fcntl
operation is not supported on cygwin32 ? The fcntl doesn't fail anyway.

I have not tried it under b18 yet.

Thanks for the help

Irio Lavagno
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list