GSocket: Add function to set/get the broadcast setting on a socket

https://bugzilla.gnome.org/show_bug.cgi?id=623187
This commit is contained in:
Sebastian Dröge
2012-01-13 13:01:35 +01:00
parent 5560d9b880
commit ffb5f8b101
4 changed files with 102 additions and 0 deletions

View File

@@ -105,6 +105,10 @@ guint g_socket_get_ttl (GSocket
void g_socket_set_ttl (GSocket *socket,
guint ttl);
gboolean g_socket_get_broadcast (GSocket *socket);
void g_socket_set_broadcast (GSocket *socket,
gboolean broadcast);
gboolean g_socket_get_multicast_loopback (GSocket *socket);
void g_socket_set_multicast_loopback (GSocket *socket,
gboolean loopback);