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