Skip to main content

getpeername

Function getpeername 

Source
pub fn getpeername<T>(fd: i32) -> Result<T, Errno>
where T: SockaddrLike,
Expand description

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

Further reading