[ws2_32] INET_ADDRSTRLEN (1/2) add INET_ADDRSTRLEN and INET_ADDRSTRLEN6

Francois Gouget fgouget at free.fr
Tue Jan 30 04:49:19 CST 2007


On Tue, 30 Jan 2007, Damjan Jovanovic wrote:

> Changelog:
> * Added INET_ADDRSTRLEN and INET_ADDRSTRLEN6 defines.
>
> --- a/include/ws2tcpip.h        2006-11-24 18:18:04.000000000 +0200
> +++ b/include/ws2tcpip.h        2007-01-26 21:14:25.000000000 +0200
> @@ -204,6 +204,9 @@
>  # define WS_EAI_SOCKTYPE       WSAESOCKTNOSUPPORT
>  #endif
>  
> +#define INET_ADDRSTRLEN  16
> +#define INET6_ADDRSTRLEN 46

The PSDK says that the values for these are respectively 22 and 65. Also 
the latest PSDK defines these in ws2ipdef.h which is a new header which 
is included from ws2tcpip.h.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
          tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY



More information about the wine-devel mailing list