accept() fails?
dahms@ifk20.mach.uni-karlsruhe.de
dahms@ifk20.mach.uni-karlsruhe.de
Wed Jul 9 17:14:00 GMT 1997
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@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list