> From: Conrad T. Pino > > http://msdn.microsoft.com/library/en-us/winsock/winsock/select_2.asp > Beware MS "select" will *NOT* process file handles other than sockets. > Passing it file or pipe handles will likely fail. I'll verify this.
Regrettably very sad but nevertheless it's true. The "WSAGetLastError" error value is 10038 which is the WSAENOTSOCK symbol. As MSDN says: Socket operation on nonsocket. An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid. _______________________________________________ Bug-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/bug-cvs
