I\'m trying to set up a blocking socket to timeout after 16 ms of trying to recvfrom() on a port. Platform is Windows. I\'ve looked at tons of examples online and it seems
I'm guessing Windows from the WSASocket() call. If so you're passing the timeout incorrectly.
MSDN says that SO_RCVTIMEO takes an int param that specifies the timeout in ms.