22 okt 2012 kl. 19:59 skrev Juha Heinanen jh@tutpro.com:
Daniel-Constantin Mierla writes:
For safety, i would use 48, to allow zero termination
why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
It's hard to judge the max length of IPv6, since there are many notations. With IPv4 embedded IPv6 the text is expanded. With scoped addresses where the interface name is added, it grows again.
/O