nix::sys::socket

Function getsockname

Source
pub fn getsockname(fd: RawFd) -> Result<SockAddr>
Expand description

Get the current address to which the socket fd is bound.

Further reading