A structure big enough to hold an IPv6 address is passed in to gethost() but since an IPv4 address will not fill it, always 0 it to ensure that consistent data is returned for IPv4 addresses
Log in to post a comment.