Function axlibc::getpeername

source ·
#[no_mangle]
pub unsafe extern "C" fn getpeername(
    sock_fd: c_int,
    addr: *mut sockaddr,
    addrlen: *mut socklen_t
) -> c_int
Available on crate feature net only.
Expand description

Get peer address to which the socket sockfd is connected.