delorie.com/archives/browse.cgi | search |
Mark Swanson wrote: > > Here's some additional info: perhaps you can make sense of the strace > output? > Well, the strace output didn't seem any more informative to me that the original error message. But, Corinna just checked in a fix that may affect this problem -- why don't you try tonight's snapshot of cygwin1.dll... > For some reason there are systems (mostly 9x/ME, seldom NT) which flawed > to duplicate a socket so that the duplicated socket isn't usable in > further socket function calls. All those functions will then return > WSAENOTSOCK. "seldom NT" -- but not "never". Perhaps this is the problem on your machine... > Anyway, the good news is, there's a way to work around that flaw. > I'm now using special Winsock2 functions (WSADuplicateSocket/WSASocket) > to duplicate the socket to the child process which is the recommended > way for sharing sockets on Windows platforms. [snip] > Ok, I have just checked in the patch so it's accessible via CVS > already or it will be in the next developers snapshot. --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |