Sockets and file descriptors are not interchangeable on Windows. The test for checking whether a given value is a socket or an FD was broken for the case where WinSock was not initialized to begin with.
2.9 KiB
2.9 KiB