rx-windows-xmit-20090126
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 27 Jan 2009 06:04:32 +0000 (06:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 27 Jan 2009 06:04:32 +0000 (06:04 +0000)
commita4f63a818eea476efa456132ca6112329ef8a484
tree9fa084bc2a3378a6483e33afa53fad7cdab096bf
parent6e8039e8a55056f19895036ef6784f4fab5ab758
rx-windows-xmit-20090126

LICENSE MIT

The WinSock API does not include the Posix recvmsg/sendmsg interfaces.
Beginning with XP/2003 Microsoft began to support WSARecvMsg which is
a mostly compatible implementation of recvmsg.  In Vista/2008 Microsoft
began to support WSASendMsg a mostly compatible implementation of sendmsg.

Neither are part of the WinSock API and therefore they must be loaded
at runtime via a WSAIoctl() call to obtain the function pointers.
When the functions are available it is now possible to avoid a large
number of memcpy() calls.

This patch also enables UDP port unreachable messages on XP and above.
src/rx/rx_user.c
src/rx/rx_xmit_nt.c
src/rx/rx_xmit_nt.h