Function rsix::net::sockopt::set_ip_add_membership[][src]

pub fn set_ip_add_membership<Fd: AsFd>(
    fd: &Fd,
    multiaddr: &Ipv4Addr,
    interface: &Ipv4Addr
) -> Result<()>
Expand description

setsockopt(fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, multiaddr, interface)

References