Re: libSystem: inet_pton() or inet_ntop() converts wrong ipv6 addressed like: ::12
Re: libSystem: inet_pton() or inet_ntop() converts wrong ipv6 addressed like: ::12
- Subject: Re: libSystem: inet_pton() or inet_ntop() converts wrong ipv6 addressed like: ::12
- From: email@hidden
- Date: Wed, 06 Jan 2016 08:18:25 +0900
You might say there are more than that.
IPv6 presentation form allows arbitrary contraction of zero bytes as : but doesn't require it.
IPv6 is a bit more complex.
Presentation form is a lot less human friendly.
Sent from my iPhone
> On Jan 6, 2016, at 6:49 AM, Jeff Johnson <email@hidden> wrote:
>
> I wouldn't say that either way is incorrect. There are just 2 valid ways of representing the address.
>
> -Jeff
>
>
>> On Jan 5, 2016, at 8:59 AM, Robin Hack <email@hidden> wrote:
>>
>> Hi Jeff.
>>
>> Thank you for your answer. I didn't know about this compatibility (shame on me :)).
>>
>> So basically other libc libraries implements inet_ntop() incorrectly?
>>
>> Have nice day
>> Robin Hack
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden