join_multicast_group_ssm


Description:

[ Version ( since = "2.56" ) ]
public bool join_multicast_group_ssm (InetAddress group, InetAddress? source_specific, string? iface) throws Error

Registers this to receive multicast messages sent to group.

this must be a g_socket_type_datagram socket, and must have been bound to an appropriate interface and port with bind.

If iface is null, the system will automatically pick an interface to bind to based on group.

If 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.

Parameters:

this

a Socket.

group

a InetAddress specifying the group address to join.

source_specific

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

iface

Name of the interface to use, or null

Returns:

true on success, false on error.