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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 12 Dec 2008 00:05:24 +0100 (CET)

On Thu, 11 Dec 2008, Dan Fandrich wrote:

>> 45 is the maximum IPv6 dotted address length I believe, as used in an
>> address like:
>>
>> "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"
>
> Don't forget the scope field. That leads to a longest address of
>
> "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255%2565535"
>
> which is 53 characters long.

Right, I should've mentioned that but at this point in the code the scope has
already been trimmed off and is stored in a separate struct field.

-- 
  / daniel.haxx.se
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