delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/18/15:38:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVYp2hz+BIzHQw/i0iq8kBdSjT7EKLC9cZ4R/OEBqj+RbXTdki/HOb/v
Message-ID: <3F184BED.2060404@cygwin.com>
Date: Fri, 18 Jul 2003 15:35:09 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: =?ISO-8859-1?Q?J=E9r=F4me_DESPATIS?= <jdespatis AT yahoo DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: getaddrinfo function on win2k & XP
References: <20030718144737 DOT 92625 DOT qmail AT web11705 DOT mail DOT yahoo DOT com>
In-Reply-To: <20030718144737.92625.qmail@web11705.mail.yahoo.com>

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 AT yahoo DOT 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 AT cygwin DOT com> a écrit : >
>>Jérôme DESPATIS wrote:
>>
>>>>Hello
>>>>
>>>>in the mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019