rustix::net::sockopt

Function set_ipv6_add_membership

source
pub fn set_ipv6_add_membership<Fd: AsFd>(
    fd: Fd,
    multiaddr: &Ipv6Addr,
    interface: u32,
) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, multiaddr, interface)

See the module-level documentation for more.