rustix::net

Function bind_v6

Source
pub fn bind_v6<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV6) -> Result<()>
Available on crate feature net only.
Expand description

bind(sockfd, addr, sizeof(struct sockaddr_in6))—Binds a socket to an IPv6 address.

§References