* net.cc (wsock_event::release): Use NULL handle in call to
WSAEventSelect to resolve KB 168349.
This commit is contained in:
parent
59c9f5f586
commit
f5da8224f6
|
@ -1,3 +1,8 @@
|
|||
2004-04-02 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* net.cc (wsock_event::release): Use NULL handle in call to
|
||||
WSAEventSelect to resolve KB 168349.
|
||||
|
||||
2004-04-01 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_socket.cc (fhandler_socket::recvfrom): Rearrange loop
|
||||
|
|
|
@ -119,7 +119,8 @@ void
|
|||
wsock_event::release (int sock)
|
||||
{
|
||||
int last_err = WSAGetLastError ();
|
||||
WSAEventSelect (sock, event, 0);
|
||||
/* KB 168349: NT4 fails if the event parameter is not NULL. */
|
||||
WSAEventSelect (sock, NULL, 0);
|
||||
WSACloseEvent (event);
|
||||
unsigned long non_block = 0;
|
||||
if (ioctlsocket (sock, FIONBIO, &non_block))
|
||||
|
|
Loading…
Reference in New Issue