X-Spam-Check-By: sourceware.org Date: Thu, 16 Feb 2006 10:12:40 +0100 From: Corinna Vinschen To: Cygwin List Subject: Re: missing getaddrinfo Message-ID: <20060216091240.GB23476@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin List References: <021520061640 DOT 18237 DOT 43F35975000870440000473D22073000330A050E040D0C079D0A AT comcast DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <021520061640.18237.43F35975000870440000473D22073000330A050E040D0C079D0A@comcast.net> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Feb 15 16:40, Eric Blake wrote: > Currently, cygwin does not provide getaddrinfo, even though > SUSv3 specifies it in /. CVS Coreutils > has been using gnulib to provide a replacement definition, > but recently gnulib was updated to work on mingw, reusing > the winsock headers/libraries to provide getaddrinfo. As a > result, coreutils is now trying to link in -lws2_32 to get > the winsock version of getaddrinfo (and I suspect that will > not work properly). > > Anyone willing to export getaddrinfo in cygwin proper? Then Not in 1.5.20. But getaddrinfo and getnameinfo are on my TODO list. It's not done with just exporting getaddrinfo, since it only exists in WinSock versions beginning with XP, and in the experimental v6 stack implementation for 2K. Licensewise, it seems to be possible to use the getaddrinfo implementation on http://www.sra.co.jp/people/m-kasahr/getaddrinfo/ for systems having no IPv6 and the WinSock implementation otherwise. But, as I said, that's something for 1.5.21. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/