Leaves a multicast group.
impl Socket {
fn ipv4_leave_multicast_group(&self, multi_addr: Ipv4Addr, local_addr: Option<Ipv4Addr>, interface: Option<i32>) -> Result<(), Errno>
}| Name | Description |
|---|---|
| multi_addr | The address of the multicast group to leave. |
| local_addr | The local address that will leave the group. |
| interface | The local interface that will leave the group. |
If local_addr or interface are None, the system will find the correct values.
ip(7) and IP_DROP_MEMBERSHIP therein