- Timestamp:
- Jan 8, 2018 10:12:19 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/socket.cpp
r70483 r70484 688 688 /* 689 689 * Got socket pair, so use it. 690 * Note! This isn't TCP per se, but it should fool the users. 690 691 */ 691 692 int aSockets[2] = { -1, -1 }; 692 if (socketpair(AF_ INET, SOCK_STREAM, IPPROTO_TCP, aSockets) == 0)693 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, aSockets) == 0) 693 694 { 694 695 *phServer = aSockets[0]; … … 2877 2878 /* If no bytes are available, assume error condition. */ 2878 2879 u_long cbAvail = 0; 2879 rc = ioctlsocket(pThis->hNative, FIONREAD, &cbAvail);2880 rc = g_pfnioctlsocket(pThis->hNative, FIONREAD, &cbAvail); 2880 2881 if (rc == 0 && cbAvail == 0) 2881 2882 fRetEvents |= RTPOLL_EVT_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.