Mail Archives: cygwin/1998/03/16/00:35:03
There seems to be some really strange behaviour in the accept calls. After
calling accept about 50 times to poll socket activity, it just freezes
until a connection is established, rather than continuing the loop. The
socket is created, is a stream socket, set non-blocking, and then passed to
accept. The accept line looks like:
new_socket = accept(sockettopoll, (struct sockaddr *)&foreign_addr,
&sin_size);
Doesn't look overly strange, but for some reason, the code just stops at
this point and waits and waits for a connection that never shows. When a
connection does occur, the loop cycles does it's connection routine, and
then freezes again waiting for another accept..
any ideas on this?
- Greg
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -