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];
 };