Function nix::sys::socket::getpeername
source · pub fn getpeername<T: SockaddrLike>(fd: RawFd) -> Result<T>
Available on crate feature
socket
only.Expand description
Get the address of the peer connected to the socket fd
.