cURL / Mailing Lists / curl-library / Single Mail

curl-library

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