Unix net socket: make the client socket non-blocking, fixes #5578.

This commit is contained in:
OBattler
2025-05-10 23:14:10 +02:00
parent ebbfee2c22
commit e5606f7530

View File

@@ -94,6 +94,8 @@ plat_netsocket_accept(SOCKET socket)
if (clientsocket == -1)
return -1;
fcntl(clientsocket, F_SETFL, fcntl(clientsocket, F_GETFL, 0) | O_NONBLOCK);
return clientsocket;
}