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.
pub fn bind_v6<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV6) -> Result<()>
net
only.bind(sockfd, addr, sizeof(struct sockaddr_in6))
—Binds a socket to an
IPv6 address.