Function nc::getsockname[][src]

pub fn getsockname(
    sockfd: i32,
    addr: &mut sockaddr_in_t,
    addrlen: &mut socklen_t
) -> Result<(), Errno>
Expand description

Get current address to which the socket sockfd is bound.