![]() |
![]()
| ![]() |
![]()
NAMEipaddr_sockaddr - returns sockaddr structure corresponding to the IP address SYNOPSIS
DESCRIPTIONReturns sockaddr structure corresponding to the IP address. This function is typically used in combination with ipaddr_len to pass address and its length to POSIX socket APIs. addr: IP address object. This function is not available if libdill is compiled with --disable-sockets option. RETURN VALUEPointer to sockaddr structure correspoding to the address object. ERRORSNone. EXAMPLE
SEE ALSOipaddr_equal(3) ipaddr_family(3) ipaddr_len(3) ipaddr_local(3) ipaddr_port(3) ipaddr_remote(3) ipaddr_remotes(3) ipaddr_setport(3) ipaddr_str(3)
|