Mail Archives: cygwin/1997/07/09/18:32:41
Hi Jeff, you wrote:
: The code below, compiled for Linux, works as expected. Compiled
: for b18 cygwin32 immediately returns -1 from the call to accept.
Initializing should help. I'm astonished that it worked under Linux!
: int tmp;
tmp = sizeof(sockaddr);
: if ((nfd=accept(fd, (struct sockaddr *) &sockaddr, &tmp)) < 0) {
Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
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 -