cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: IPv6 Support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Dec 2008 13:20:30 +0100 (CET)

On Tue, 9 Dec 2008, Daniel Stenberg wrote:

> But to answer the question: libcurl supports the addresses that
> getaddrinfo() supports and I _assume_ that it will grok "mixed addressing"
> just fine.

Uhm, wrong.

We use inet_pton() or the internal Curl_inet_pton() to parse numerical IPv6
addresses and I believe both deal with the mixed kind just fine on modern
operating systems.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-12-09