Socket.leaveMulticastGroup
bool leaveMulticastGroup(gio.inet_address.InetAddress group, bool sourceSpecific, string iface = null)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.
To unbind to a given source-specific multicast address, use [gio.socket.Socket.leaveMulticastGroupSsm] instead.
Parameters
group | a #GInetAddress specifying the group address to leave. |
sourceSpecific | true if source-specific multicast was used |
iface | Interface used |
Returns
true on success, false on error.
Throws
[ErrorWrap]