How to store and display an 'ipv6 address'. For declaring I'm using the following structure format.



struct in6_addr
{
unsigned char s6_addr[16];
};