[][src]Function nc::getsockname

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

Get current address to which the socket sockfd is bound.