[go: up one dir, main page]

getsockname

Function getsockname 

Source
pub fn getsockname<Fd: AsFd>(sockfd: Fd) -> Result<SocketAddrAny>
Available on crate feature net only.
Expand description

getsockname(fd, addr, len)—Returns the address a socket is bound to.

§References