getaddrinfo function on win2k & XP

Larry Hall cygwin-lh@cygwin.com
Fri Jul 18 20:59:00 GMT 2003


Same as always. Add the proper prototype and link to the library that
defines it.

 From my documentation, this is available for XP and Windows Server .NET
only, if that's of any concern to you.

Larry


Jérôme DESPATIS wrote:

> Re
> 
> getaddrinfo is implemented in win2k and XP, how can i
> tell cygwin to use the getaddrinfo from windows API
> and not cygwin api ? (which lacks this function)
> 
> enzo
> 
>  --- Jérôme DESPATIS <jdespatis@yahoo.fr> a écrit : >
> Re
> 
>>I don't have the skills to patch cygwin, however
>>getaddrinfo.c can be found in
>>
> 
> ftp://ftp.linux-ipv6.org/pub/usagi/snap/kit/usagi-linux24-s20030707.tar.bz2
> 
>>in the directory usagi/usagi/libinet6
>>
>>getaddrinfo.c needs to patch netdb.h also to add
>>some
>>definitions (the new netdb.h is in the
>>include_glibc22
>>directory)
>>
>>hope this helps...
>>enzo
>>
>> --- Larry Hall <cygwin-lh@cygwin.com> a écrit : >
>>Jérôme DESPATIS wrote:
>>
>>>>Hello
>>>>
>>>>in the mailing list cygwin@cygwin.com archive,
>>>
>>>i've
>>>
>>>>found some discussions about the function
>>>
>>>getaddrinfo
>>>
>>>>however, i can't find how to compile my prog
>>
>>using
>>
>>>>this function. I found no getaddrinfo definition
>>>
>>>in
>>>
>>>>/usr/include/netdb.h
>>>>
>>>>has this function been developped ?
>>>
>>>No.
>>>
>>>PTC :-)
>>>
>>>-- 
>>>Larry Hall                             
>>>http://www.rfk.com
>>>RFK Partners, Inc.                      (508)
>>>893-9779 - RFK Office
>>>838 Washington Street                   (508)
>>>893-9889 - FAX
>>>Holliston, MA 01746
>>> 





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list