Function nix::sys::socket::getpeername [−][src]
pub fn getpeername(fd: RawFd) -> Result<SockAddr>
Expand description
Get the address of the peer connected to the socket fd
.
pub fn getpeername(fd: RawFd) -> Result<SockAddr>
Get the address of the peer connected to the socket fd
.