delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/16/04:12:52

X-Spam-Check-By: sourceware.org
Date: Thu, 16 Feb 2006 10:12:40 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: missing getaddrinfo
Message-ID: <20060216091240.GB23476@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Cygwin List <cygwin AT cygwin DOT com>
References: <021520061640 DOT 18237 DOT 43F35975000870440000473D22073000330A050E040D0C079D0A AT comcast DOT net>
Mime-Version: 1.0
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
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Feb 15 16:40, Eric Blake wrote:
> Currently, cygwin does not provide getaddrinfo, even though
> SUSv3 specifies it in <sys/socket.h>/<netdb.h>.  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/

- Raw text -


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