Skip to content

Commit

Permalink
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 committed Jan 20, 2014
1 parent 40ef03b commit ffa0d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/dev-net.c
Expand Up @@ -583,7 +583,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 ffa0d89

Please sign in to comment.