devela::_dep::rustix::net

Function getsockname

pub fn getsockname<Fd>(sockfd: Fd) -> Result<SocketAddrAny, Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

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

§References