Method lrs::socket::Socket::ipv6_leave_multicast_group

Leaves a multicast group.

Syntax

impl Socket {
    fn ipv6_leave_multicast_group(&self, multi_addr: Ipv6Addr, interface: Option<i32>) -> Result<(), Errno>
}

Arguments

NameDescription
multi_addr

The address of the multicast group to leave.

interface

The local interface that will leave the group.

Remarks

If interface is None, the system will find the correct value.

See also