af Specifies the address family. Valid values are AF_INET for an IPv4 address and AF_INET6 for an IPv6 address. src Points to the address text string to be converted. dst Points to a buffer that is to contain the numeric address.