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: IPv6 Support

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 10 Dec 2008 14:29:57 +0100 (CET)

On Wed, 10 Dec 2008, keshav krity wrote:

> curl_easy_setopt(curl, CURLOPT_URL, "/*any mixed address*/");

But libcurl doesn't work with "any mixed address" put plainly like that. It
works with URLs and you need to specify a legitimate URL. If you want a
literal IPv6 address in a URL you need to do it the RFC2732-style.

One example from that RFC:

         http://[::FFFF:129.144.52.38]:80/index.html

-- 
  / daniel.haxx.se
Received on 2008-12-10

These mail archives are generated by hypermail.

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

File upload with ASP.NET