socket2::sys

Function getsockname

Source
pub(crate) fn getsockname(fd: c_int) -> Result<SockAddr>