![]() |
![]()
| ![]() |
![]()
NAMEipaddr_family - returns family of the IP address SYNOPSIS
DESCRIPTIONReturns family of the address, i.e. either AF_INET for IPv4 addresses or AF_INET6 for IPv6 addresses. addr: IP address object. This function is not available if libdill is compiled with --disable-sockets option. RETURN VALUEIP family. ERRORSNone. EXAMPLE
SEE ALSOipaddr_equal(3) ipaddr_len(3) ipaddr_local(3) ipaddr_port(3) ipaddr_remote(3) ipaddr_remotes(3) ipaddr_setport(3) ipaddr_sockaddr(3) ipaddr_str(3)
|