Add bound address out-argument to g_socket_listener_add_address (#585566)

This is very useful when binding to "any" port.
This commit is contained in:
Alexander Larsson
2009-06-15 14:23:57 +02:00
parent 91bdccff75
commit 67de6cba50
2 changed files with 21 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ gboolean g_socket_listener_add_address (GSocket
GSocketType type,
GSocketProtocol protocol,
GObject *source_object,
GSocketAddress **effective_address,
GError **error);
gboolean g_socket_listener_add_inet_port (GSocketListener *listener,
guint16 port,