curl-library
Re: Re: IPv6 Support
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 12 Dec 2008 00:05:24 +0100 (CET)
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.seReceived on 2008-12-12