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