More TCP/IP related changes

This commit is contained in:
Cacodemon345
2024-03-12 16:01:00 +06:00
parent fb8ff563b2
commit 59466a74f4
3 changed files with 120 additions and 95 deletions

View File

@@ -155,7 +155,7 @@ int plat_netsocket_connect(SOCKET socket, const char* hostname, unsigned short p
if (res == -1) {
int error = errno;
if (error == EISCONN)
if (error == EISCONN || error == EWOULDBLOCK || error == EAGAIN || error == EINPROGRESS)
return 0;
res = -1;