From 0017728c8c19ac0e64eee7740e43138d85885ee2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 13 Feb 2014 08:30:24 -0500 Subject: [PATCH] gsocketservice: Clarify g_socket_service_stop() documentation https://bugzilla.gnome.org/show_bug.cgi?id=724233 --- gio/gsocketservice.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gio/gsocketservice.c b/gio/gsocketservice.c index 0ee0ad0..0b72e97 100644 --- a/gio/gsocketservice.c +++ b/gio/gsocketservice.c @@ -203,6 +203,12 @@ g_socket_service_start (GSocketService *service) * This call is thread-safe, so it may be called from a thread * handling an incoming client request. * + * Note that this only stops accepting new connections; it does not + * close the listening sockets, and you can call + * g_socket_service_start() again later to begin listening again. To + * close the listening sockets, call g_socket_listener_close(). (This + * will happen automatically when the #GSocketService is finalized.) + * * Since: 2.22 */ void -- 2.7.4