Socket.leaveMulticastGroup

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. Since 2.32

class Socket
int
leaveMulticastGroup

Parameters

group InetAddress

a GInetAddress specifying the group address to leave.

iface string

Interface used. [allow-none]

sourceSpecific int

TRUE if source-specific multicast was used

Return Value

Type: int

TRUE on success, FALSE on error.

Throws

GException on failure.

Meta