Changeset 60910 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 9, 2016 9:00:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/socket.cpp
r60902 r60910 1267 1267 } 1268 1268 else 1269 { 1269 1270 rc = rtSocketError(); 1270 1271 if (rc == VERR_TRY_AGAIN) 1272 { 1273 *pcbRead = 0; 1274 rc = VINF_TRY_AGAIN; 1275 } 1271 if (rc == VERR_TRY_AGAIN) 1272 { 1273 *pcbRead = 0; 1274 rc = VINF_TRY_AGAIN; 1275 } 1276 } 1277 1276 1278 #else 1277 1279 ssize_t cbRead = recv(pThis->hNative, pvBuffer, cbNow, MSG_NOSIGNAL); … … 1328 1330 } 1329 1331 else 1332 { 1330 1333 rc = rtSocketError(); 1331 1332 if (rc == VERR_TRY_AGAIN) 1333 rc = VINF_TRY_AGAIN; 1334 if (rc == VERR_TRY_AGAIN) 1335 { 1336 *pcbWritten = 0; 1337 rc = VINF_TRY_AGAIN; 1338 } 1339 } 1334 1340 #else 1335 1341 ssize_t cbWritten = send(pThis->hNative, pvBuffer, cbBuffer, MSG_NOSIGNAL);
Note:
See TracChangeset
for help on using the changeset viewer.