Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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 Reply-To: cygwin@cygwin.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?= CC: cygwin@cygwin.com Subject: Re: getaddrinfo function on win2k & XP References: <20030718144737.92625.qmail@web11705.mail.yahoo.com> In-Reply-To: <20030718144737.92625.qmail@web11705.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 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 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/