This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
non blocking sockets
- To: gnu-win32 at cygnus dot com
- Subject: non blocking sockets
- From: Irio Lavagno <irio dot lavagno at torino dot alpcom dot it>
- Date: Wed, 14 May 1997 09:54:35 +0200
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".