Use windows error code on win32 to determine if recv would block.