Function nix::sys::socket::getpeername

source ยท
pub fn getpeername<T: SockaddrLike>(fd: RawFd) -> Result<T>
Expand description

Get the address of the peer connected to the socket fd.

Further reading