Function nix::sys::socket::getpeername

source ·
pub fn getpeername(fd: RawFd) -> Result<SockAddr>
Expand description

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

Further reading