nix::sys::socket

Function getsockname

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

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

Further reading