Blocks messages from a peer in a multicast group.
impl Socket {
fn ipv4_block_multicast_peer(&self, multi_addr: Ipv4Addr, peer_addr: Ipv4Addr, local_addr: Option<Ipv4Addr>) -> Result<(), Errno>
}| Name | Description |
|---|---|
| multi_addr | The address of the multicast group on which the messages are sent. |
| peer_addr | The address of the peer which will be blocked. |
| local_addr | The local address which is a member of the multicast group. |
If local_addr is None, the system will choose an appropriate value.
ip(7) and IP_BLOCK_SOURCE therein