fix PXO chat lobby connection failure on Linux/Mac

This commit is contained in:
Taylor Richards 2024-06-10 20:17:16 -04:00
parent 3f54c1a2cd
commit 03b729e318
No known key found for this signature in database

View File

@ -205,7 +205,7 @@ int ConnectToChatServer(const char *serveraddr, int16_t chat_port, char *nicknam
#ifndef __LINUX__
if (WSAEWOULDBLOCK == WSAGetLastError())
#else
if (WSAEWOULDBLOCK == ret || 0 == ret)
if (WSAEWOULDBLOCK == ret || EINPROGRESS == ret || 0 == ret)
#endif
{
DLLmprintf(0, "Beginning socket connect\n");