Function rustix::net::socket::getsockname

source ·
pub fn getsockname<Fd: AsFd>(sockfd: Fd) -> Result<SocketAddrAny>
Expand description

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

§References