public bool join_multicast_group (InetAddress group, bool source_specific, string? iface) throws Error
Registers this to receive multicast messages sent to
this must be a g_socket_type_datagram socket, and must have been bound to an appropriate interface and port with bind.
iface is null, the system will automatically pick an interface to bind to based on
source_specific is true, source-specific multicast as defined in RFC 4604 is used. Note that
on older platforms this may fail with a g_io_error_not_supported error.
To bind to a given source-specific multicast address, use join_multicast_group_ssm instead.
a InetAddress specifying the group address to join.
true if source-specific multicast should be used
Name of the interface to use, or null
true on success, false on error.