VirtualBox

Changeset 47967 in vbox


Ignore:
Timestamp:
Aug 21, 2013 1:27:55 PM (11 years ago)
Author:
vboxsync
Message:

lwip-nat:pxtcp: comment update for WSARecv.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/vbox/pxtcp.c

    r47966 r47967  
    18331833#else
    18341834    dwFlags = 0;
    1835     /* In case of error we shouldn't fool code relying on count of readed bytes */
     1835    /* We can't assign nread to -1 expecting, that we'll got it back in case of error,
     1836     * instead, WSARecv(,,,DWORD *,,,) will rewrite only half of the 64bit value.
     1837     */
    18361838    nread = 0;
    18371839    rc = WSARecv(pxtcp->sock, iov, iovlen, (DWORD *)&nread, &dwFlags, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette