INVALID_SOCKET isn't xplatform