leave_multicast_group
Description:
[ Version ( since = "2.32" ) ]
public bool leave_multicast_group (InetAddress group, bool source_specific, string? iface) throws Error
public bool leave_multicast_group (InetAddress group, bool source_specific, string? iface) throws Error
Removes this from the multicast group defined by group
, iface
, and
source_specific
(which must all have the same values they had when you joined the group).
this remains bound to its address and port, and can still receive unicast messages after calling this.
To unbind to a given source-specific multicast address, use leave_multicast_group_ssm instead.
Parameters:
this |
a Socket. |
group |
a InetAddress specifying the group address to leave. |
source_specific |
true if source-specific multicast was used |
iface |
Interface used |
Returns:
true on success, false on error. |