How to store and display an 'ipv6 address'. For declaring I'm using the following structure format.
Code:struct in6_addr { unsigned char s6_addr[16]; };
How to store and display an 'ipv6 address'. For declaring I'm using the following structure format.
Code:struct in6_addr { unsigned char s6_addr[16]; };
For such knowledge I go to my trusted Richard Stevens book:
Unix Network Programming.
Also you may want to read up on rfc2133.
http://rfclibrary.hosting.com/rfc/rfc2133/rfc2133-1.asp