Commit 063722ef authored by Philip Withnall's avatar Philip Withnall

gsocketlistener: Clarify when g_socket_listener_set_backlog() works

Spotted by Paolo Borelli.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #940
parent 3addc38c
......@@ -965,7 +965,9 @@ g_socket_listener_accept_finish (GSocketListener *listener,
* @listener: a #GSocketListener
* @listen_backlog: an integer
*
* Sets the listen backlog on the sockets in the listener.
* Sets the listen backlog on the sockets in the listener. This must be called
* before adding any sockets, addresses or ports to the #GSocketListener (for
* example, by calling g_socket_listener_add_inet_port()) to be effective.
*
* See g_socket_set_listen_backlog() for details
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment