This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

non blocking sockets


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]