This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
setfl () and accept ()
- To: <gnu-win32 at cygnus dot com>
- Subject: setfl () and accept ()
- From: "Terry Grooms" <tgrooms at earthlink dot net>
- Date: Thu, 7 May 1998 13:36:08 -0400
- Reply-To: <tgrooms at earthlink dot net>
Arg. It seems that I've been bitten. Since signals aren't supported very
well in the gnu-win32, I had to come up with an alternative way to get
around the blocking habit of accept () and connect (). I decided to change
the sockets to asynchronous behavior using setfl (socket, F_SETFL,
O_NONBLOCK | flags). Well, it reports that everything is okay but, alas, it
seems that the NONBLOCK property is ignored. I still block hard and fast at
the accept () or connect ().
Does anyone have another option or a solution?
Thanks in advance.
Terry Grooms
tgrooms@earthlink.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".