Function rustix::net::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.