rustix::net::sockopt

Function set_ip_add_source_membership

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

setsockopt(fd, IPPROTO_IP, IP_ADD_SOURCE_MEMBERSHIP, value)

See the module-level documentation for more.