public bool join_multicast_group_ssm (InetAddress group, InetAddress? 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 not null, use source-specific multicast as defined in RFC 4604. Note that
on older platforms this may fail with a g_io_error_not_supported error.
Note that this function can be called multiple times for the same
group with different
source_specific in order to
receive multicast packets from more than one source.
a InetAddress specifying the group address to join.
a InetAddress specifying the source-specific multicast address or null to ignore.
Name of the interface to use, or null
true on success, false on error.