leave_multicast_group


Description:

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.

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.