Re: [xml] win32 getaddrinfo
- From: Michael Stahl <Michael Stahl Sun com>
- To: xml gnome org
- Subject: Re: [xml] win32 getaddrinfo
- Date: Tue, 01 Apr 2008 15:30:53 +0200
Daniel Veillard wrote:
On Tue, Apr 01, 2008 at 10:23:56AM +0200, Michael Stahl wrote:
Roumen Petrov wrote:
to quote the msdn documentation:
The freeaddrinfo function was added to the Ws2_32.dll on Windows XP and
When the Wspiapi.h include file is added, the freeaddrinfo function is
defined to the WspiapiFreeAddrInfo inline function in the Wspiapi.h file.
the question is how do you detect that
+ #include <Wspiapi.h> /* for getaddrinfo, freeaddrinfo */
is actually available ? What about older version, WinCE ...
I guess this need some expert review (I'm not one for any Win stuff !)
me neither, i just quote msdn :)
Declared in Ws2tcpip.h on Windows Server 2008, Windows Vista, Windows
Server 2003, and Windows XP.
Declared in Ws2tcpip.h on Windows 2000, Windows NT, and Windows Me/98/95;
so, it says nothing about wince, but everything else from msft seems to
Q: If I write the code int i, j; can I assume that (&i + 1) == &j?
A: Only sometimes. It's not portable, because in EBCDIC, i and j are
] [Thread Prev