Commit Graph

20 Commits

Author SHA1 Message Date
Rob Shearman 9993b0a079 include: Add defines for NI_MAXHOST and NI_MAXSERV to ws2tcpip.h. 2009-04-02 13:03:12 +02:00
Rob Shearman fc10ba8fc7 include: Add a stub implementation of gai_strerror{A,W}. 2009-03-31 16:43:04 +02:00
Rob Shearman 76fdd19476 include: Move some declarations in ws2tcpip.h to where they belong in new ws2ipdef.h header. 2009-03-31 16:43:04 +02:00
Francois Gouget b092b90309 ws2_32: Add the inet_ntop() and inet_pton() prototypes and their relatives. 2008-12-08 12:04:41 +01:00
Rob Shearman d82e36fa4a include: Wrap uses of u_* types in ws2tcpip.h with WS() macro. 2008-10-01 11:42:55 -05:00
James Hawkins e4c1227ec9 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:17 +01:00
Rob Shearman 1cef5dce9c include: ws2tcpip.h should include winsock2.h. 2008-01-03 11:40:31 +01:00
Robert Shearman 264503d40d include: Add NI_* defines and add a WS(socklen_t) type. 2006-07-13 16:25:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget dcb90635f8 winsock: Tweak getnameinfo() prototype.
Tweak the getnameinfo() prototype to better match the Windows PSDK and
the GetNameInfoW() prototype.
Update win32.api.
2006-02-24 21:09:19 +01:00
Hans Leidekker c0e6bb2df7 winsock: Implement getnameinfo. 2006-02-20 21:03:00 +01:00
Marcus Meissner 8e203745f4 winsock: getaddrinfo return codes
Adjust return code EAI_NODATA to WSAHOST_NOT_FOUND, like windows does
it.
2005-12-12 11:55:33 +01:00
Francois Gouget 482df927ca Add LPADDRINFO, missing IP_* defines and missing APIs.
Enclose the API definitions in an extern "C" section.
Define function pointer types if INCL_WINSOCK_API_TYPEDEFS is defined.
Better stick to the types defined by the PSDK.
Update win32.api.
2005-11-23 19:43:50 +01:00
Marcus Meissner 7a6fdea105 Implemented getaddrinfo(), including full mapping of struct addrinfo
between UNIX and Windows. Based on a patch by Mike Hearn.
2005-11-17 12:58:35 +00:00
Marcus Meissner aa730cc9e4 Added mapping between unix and windows sockaddr_in6(_old) and
sockaddr_in. Added address family, socket type mappers.
2005-11-16 11:21:57 +00:00
Vijay Kiran Kamuju 6779289806 Added addrinfo structures. 2005-09-21 09:41:22 +00:00
Francois Gouget ff915d457b Make sure ip_mreq is not exported by winsock2.h.
Add ip_mreq, ip_mreq_source and ip_msfilter to ws2tcpip.h.
2004-03-31 19:58:46 +00:00
Mike Hearn ceb86a90f8 - Map winsock sockopts to the POSIX equivalents for IP multicast.
- Remap winsock1 constant values to winsock2 using a forwarder
  function.
- Change a FIXME to a TRACE, it appeared to be simply reporting
  progress.
2003-04-04 22:04:47 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget 272023190e Make winsock.h and winsock2.h independent from the Unix headers.
Make them compatible with both the Unix C headers and the MSVCRT
headers.
Ensure compatibility with the Unix headers via the USE_WS_PREFIX
macro.
Add WINE_NOWINSOCK: prevents winsock.h from being included from
windows.h when defined.
Add ws2tcpip.h, move definitions to the right header.
2001-11-14 21:26:23 +00:00