Socket.leaveMulticastGroupSsm

Removes socket 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).

socket remains bound to its address and port, and can still receive unicast messages after calling this.

class Socket
bool
leaveMulticastGroupSsm

Parameters

group gio.inet_address.InetAddress

a #GInetAddress specifying the group address to leave.

sourceSpecific gio.inet_address.InetAddress

a #GInetAddress specifying the source-specific multicast address or null to ignore.

iface string

Name of the interface to use, or null

Return Value

Type: bool

true on success, false on error.