mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Unix net socket: make the client socket non-blocking, fixes #5578.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user