pub fn getpeername<Fd: AsFd>(sockfd: &Fd) -> Result<SocketAddrAny>
Expand description

getpeername(fd, addr, len)—Returns the address a socket is connected to.

References