mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gio: add g_socket_join_multicast_group_ssm (IGMPv3 SSM)
It adds support for source-specific multicast IGMPv3. Allow receiving data only from a specified source when joining a multicast group. g_socket_join_multicast_group_ssm can be called multiple times to allow receiving data from more than one source. Support IPv4 and IPv6. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740791
This commit is contained in:
committed by
Philip Withnall
parent
a79ca79a85
commit
ea725a6414
@@ -157,6 +157,18 @@ gboolean g_socket_leave_multicast_group (GSocket
|
||||
gboolean source_specific,
|
||||
const gchar *iface,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_56
|
||||
gboolean g_socket_join_multicast_group_ssm (GSocket *socket,
|
||||
GInetAddress *group,
|
||||
GInetAddress *source_specific,
|
||||
const gchar *iface,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_56
|
||||
gboolean g_socket_leave_multicast_group_ssm (GSocket *socket,
|
||||
GInetAddress *group,
|
||||
GInetAddress *source_specific,
|
||||
const gchar *iface,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_socket_connect (GSocket *socket,
|
||||
GSocketAddress *address,
|
||||
|
Reference in New Issue
Block a user