When a socket and a file descriptor aren't interchangeable, these functions should be able to determine whether it has received one or the other and act accordingly. This assumes that a fd can be cast into a SOCKET.
3.3 KiB
3.3 KiB