Function nc::getsockname
source ยท pub unsafe 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.