[PATCH 1/2] ws2_32: Add support for WSARecvMsg and IP_PKTINFO (resend 2).

Erich Hoover ehoover at mines.edu
Sun Dec 5 18:26:12 CST 2010


Real Name:
    Erich Hoover
Description:
    This patch adds support for the WSARecvMsg function and retrieving
of IP_PKTINFO responses.  In order to do this, WS2_recvfrom is renamed
to WS2_recv_base and an additional parameter is added for passing a
pointer to the response buffer.  Additionally, a pointer to the
operational flags is retained internally so that MSG_CTRUNC can be
properly set when the application does not pass a sufficient buffer
for the response.  It is worth noting that the WSAMSG structure must
remain valid throughout the WSARecvMsg call (even when an overlapped
operation is performed), this functionality is confirmed by the
regression tests provided in the final patch.  This submission is
rebased against the current git, the last submission dropped off of
Patch Tracker while it was still marked as New.
ChangeLog:
    ws2_32: Add support for WSARecvMsg and IP_PKTINFO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Add-support-for-WSARecvMsg-and-IP_PKTINFO.patch
Type: text/x-diff
Size: 14025 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101205/56c6a084/attachment.patch>


More information about the wine-patches mailing list