Changeset 14088 in vbox for trunk/src/VBox/Devices/Network/slirp/slirp.c
- Timestamp:
- Nov 11, 2008 12:14:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r14085 r14088 399 399 continue; 400 400 401 #if !defined(VBOX_WITH_SIMPLEFIED_SLIRP_SYNC) || !defined(RT_OS_WINDOWS) 402 WSAResetEvent(so->hNetworkEvent); 403 #endif 401 404 /* 402 405 * Set for reading sockets which are accepting … … 407 410 UPD_NFDS(so->s); 408 411 #else 409 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ );412 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ|FD_WRITE|FD_ACCEPT|FD_CONNECT|FD_OOB); 410 413 AssertRelease(rc != SOCKET_ERROR); 411 414 pData->phEvents[cEvents] = so->hNetworkEvent; … … 423 426 UPD_NFDS(so->s); 424 427 #else 425 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ );428 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ|FD_WRITE|FD_ACCEPT|FD_CONNECT|FD_OOB); 426 429 AssertRelease(rc != SOCKET_ERROR); 427 430 pData->phEvents[cEvents] = so->hNetworkEvent; … … 440 443 UPD_NFDS(so->s); 441 444 #else 442 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_ WRITE);445 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ|FD_WRITE|FD_ACCEPT|FD_CONNECT|FD_OOB); 443 446 AssertRelease(rc != SOCKET_ERROR); 444 447 pData->phEvents[cEvents] = so->hNetworkEvent; … … 457 460 UPD_NFDS(so->s); 458 461 #else 459 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_OOB|FD_READ );462 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_OOB|FD_READ|FD_WRITE|FD_ACCEPT|FD_CONNECT); 460 463 AssertRelease(rc != SOCKET_ERROR); 461 464 pData->phEvents[cEvents] = so->hNetworkEvent;
Note:
See TracChangeset
for help on using the changeset viewer.