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
.
pub fn getpeername<T: SockaddrLike>(fd: RawFd) -> Result<T>
Get the address of the peer connected to the socket fd
.