mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-01 19:46:53 +02:00
gsocketlistener: Clarify when g_socket_listener_set_backlog() works
Spotted by Paolo Borelli. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #940
This commit is contained in:
parent
3addc38ca2
commit
063722ef80
@ -965,7 +965,9 @@ g_socket_listener_accept_finish (GSocketListener *listener,
|
|||||||
* @listener: a #GSocketListener
|
* @listener: a #GSocketListener
|
||||||
* @listen_backlog: an integer
|
* @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
|
* See g_socket_set_listen_backlog() for details
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user