Removes a previously added source of multicast messages.
impl Socket {
fn ipv4_remove_multicast_source(&self, multi_addr: Ipv4Addr, source_addr: Ipv4Addr, local_addr: Option<Ipv4Addr>) -> Result<(), Errno>
}| Name | Description |
|---|---|
| multi_addr | The address of the multicast group on which the messages are sent. |
| source_addr | The address of the sender of the messages. |
| local_addr | The local address that was set up to accept the messages. |
If local_addr is None, the system will choose an appropriate value.
This is the inverse of ipv4_add_multicast_source. If you want to block messages from a group joined with ipv4_join_multicast_group, use ipv4_block_multicast_peer.
ip(7) and IP_DROP_SOURCE_MEMBERSHIP therein