Commit Graph

34 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes c71db79c4b include: Define ADDRINFOT.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 10:52:03 +02:00
Hans Leidekker 943d91c8b5 include: Use WS_ prefix with struct timeval.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Jacek Caban 001a8a4f27 ws2_32: Added FreeAddrInfoEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-02 13:52:36 +02:00
Jacek Caban cbfa90c390 ws2_32: Added GetAddrInfoExOverlappedResult stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-31 19:50:54 +02:00
Alexandre Julliard dfcf4910e5 include: Make socklen_t a define to avoid conflicting typedefs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-16 13:52:33 +02:00
Jacek Caban 3cb6d50cd6 ws2_32: Added GetAddrInfoExCancel stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:17:59 +02:00
Bruno Jesus 590c908088 ws2_32/tests: Add IDN resolution tests for GetAddrInfoW.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 19:15:05 +01:00
Jacek Caban 547b6cff0d ws2tcpip.h: Added GetAddrInfoEx declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:44:25 +09:00
Bruno Jesus e5fba2d54c ws2_32: Add AI_NUMERICSERV support. 2014-02-13 10:43:58 +01:00
Dmitry Timoshkov 7fd3d9d499 ws2_32: Add more traces. 2013-12-26 14:35:13 +01:00
Dmitry Timoshkov e25853c543 ws2_32: Add translation for AI_V4MAPPED. 2013-12-26 13:46:32 +01:00
André Hentschel 8b913427c0 ws2_32: Map AI_ADDRCONFIG. 2010-11-23 13:16:53 +01:00
Alexandre Julliard 445567ea95 ws2_32: Use SIZE_T instead of size_t for inet_ntop argument. 2009-04-29 15:52:29 +02:00
Jeff Latimer b485ed2346 include: Bring in6_addr into line with the MS definition. 2009-04-22 16:56:37 +02:00
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