mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c6ed1c004
commit
ed9552b96e
1 changed files with 2 additions and 2 deletions
|
@ -1677,7 +1677,7 @@ setNonBlocking(SOCKET fd)
|
|||
* of the sibling is used to signal events from now on.
|
||||
*/
|
||||
WSAEventSelect(_sock, _loopID, FD_ALL_EVENTS);
|
||||
shutdown(_sock, SD_RECEIVE);
|
||||
shutdown(_sock, SHUT_RD);
|
||||
WSAEventSelect(_sock, [_sibling _loopID], FD_ALL_EVENTS);
|
||||
}
|
||||
else
|
||||
|
@ -2150,7 +2150,7 @@ setNonBlocking(SOCKET fd)
|
|||
* of the sibling is used to signal events from now on.
|
||||
*/
|
||||
WSAEventSelect(_sock, _loopID, FD_ALL_EVENTS);
|
||||
shutdown(_sock, SD_SEND);
|
||||
shutdown(_sock, SHUT_WR);
|
||||
WSAEventSelect(_sock, [_sibling _loopID], FD_ALL_EVENTS);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue