Merge branch '940-socket-listener-docs' into 'master'

gsocketlistener: Clarify when g_socket_listener_set_backlog() works

Closes #940

See merge request GNOME/glib!921
This commit is contained in:
Michael Catanzaro 2019-06-17 17:05:42 +00:00
commit 6a5c4252cd

View File

@ -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
*