cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: Curl_getaddinfo_ex and conditionals mess

From: Phil Blundell <pb_at_reciva.com>
Date: Fri, 12 Dec 2008 08:51:03 +0000

On Fri, 2008-12-12 at 09:13 +0100, Daniel Stenberg wrote:
> On Thu, 11 Dec 2008, Patrick Monnerat wrote:
>
> > But this problem seems to show that it is no longer possible to compile
> > libcurl without ares for a system that supports IPv6 but not
> > getaddrinfo()... It used to be !
>
> Is this an actual problem? What platforms support IPv6 but have no
> getaddrinfo()?

getaddrinfo() is part of the IPv6 Basic Sockets API (see RFC 3493). So,
by definition, any platform which lacks that function cannot really be
said to support IPv6.

If OS400 lacks getaddrinfo() then, harsh as it might sound, I think the
best option is to provide an emulation for that function in some support
library. It sounds like libcurl already requires some wrapper
assistance to run properly on this platform for character-set reasons,
so this shouldn't be too much of a hardship.

p.
Received on 2008-12-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET