title: how to get IPV6 interface address using getifaddr() function
body: <p>I have <code>getifaddrs()</code> definition but it is for IPv4.  Please guide me how to get IPv6 if address using the <code>getifaddrs()</code> function.</p>