Skip to content

Commit

Permalink
FIX: ATRONIX: Put accepted connection in non-block mode
Browse files Browse the repository at this point in the history
This is at least needed for Linux.
  • Loading branch information
zsx authored and Oldes committed Feb 1, 2018
1 parent 982eb02 commit 4b990d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/dev-net.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ static REBOOL Nonblocking_Mode(SOCKET sock)
news->net.remote_port = ntohs(sa.sin_port);
Get_Local_IP(news);

//Nonblocking_Mode(news->socket); ???Needed?
Nonblocking_Mode(news->socket);

Attach_Request((REBREQ**)&sock->data, news);
Signal_Device(sock, EVT_ACCEPT);
Expand Down

0 comments on commit 4b990d0

Please sign in to comment.