Re: [ws2_32] INET_ADDRSTRLEN (1/2) add INET_ADDRSTRLEN and INET_ADDRSTRLEN6
30 Jan
2007
30 Jan
'07
10:49 a.m.
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(a)free.fr> http://fgouget.free.fr/ tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY
6892
Age (days ago)
6892
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francois Gouget