Changeset 15266 in vbox for trunk/src/VBox/Devices/Network/slirp/slirp.c
- Timestamp:
- Dec 10, 2008 5:21:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r15244 r15266 654 654 } 655 655 656 #if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 657 void slirp_select_poll(PNATState pData, int fTimeout, int fIcmp) 658 #else 656 659 void slirp_select_poll(PNATState pData, fd_set *readfds, fd_set *writefds, fd_set *xfds) 660 #endif 657 661 { 658 662 struct socket *so, *so_next; … … 700 704 } 701 705 #if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 702 if ( !readfds && !writefds && !xfds)706 if (fTimeout) 703 707 return; /* only timer update */ 704 708 #endif … … 908 912 #if defined(VBOX_WITH_SLIRP_ICMP) 909 913 # if defined(RT_OS_WINDOWS) 910 sorecvfrom(pData, &pData->icmp_socket); 914 if (fIcmp) 915 sorecvfrom(pData, &pData->icmp_socket); 911 916 # else 912 917 if (pData->icmp_socket.s != -1 && FD_ISSET(pData->icmp_socket.s, readfds))
Note:
See TracChangeset
for help on using the changeset viewer.