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.
3.1 KiB
3.1 KiB