pub fn getpeername<T: SockaddrLike>(fd: RawFd) -> Result<T>
Available on crate feature
socket
only.Expand description
Get the address of the peer connected to the socket fd
.
pub fn getpeername<T: SockaddrLike>(fd: RawFd) -> Result<T>
socket
only.Get the address of the peer connected to the socket fd
.