- Timestamp:
- Feb 17, 2009 7:26:09 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r16789 r16815 988 988 /* 989 989 * Check for FD_CLOSE events. 990 * in some cases once FD_CLOSE engaged on socket it could be flashed latter (for some reasons) 990 991 */ 991 if (NetworkEvents.lNetworkEvents & FD_CLOSE) 992 { 992 if ( (NetworkEvents.lNetworkEvents & FD_CLOSE) 993 || (so->so_close == 1)) 994 { 995 so->so_close = 1; /* mark it */ 993 996 /* 994 997 * drain the socket … … 1002 1005 break; 1003 1006 } 1007 CONTINUE(tcp); 1004 1008 } 1005 1009 #endif -
trunk/src/VBox/Devices/Network/slirp/socket.h
r16572 r16815 73 73 #if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && !defined(RT_OS_WINDOWS) 74 74 int so_poll_index; 75 #endif 76 #if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 77 /* 78 * FD_CLOSE event has been occured on socket 79 */ 80 int so_close; 75 81 #endif 76 82 };
Note:
See TracChangeset
for help on using the changeset viewer.