SocketListener.setBacklog

void setBacklog(int listenBacklog)

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 [gio.socket_listener.SocketListener.addInetPort]) to be effective.

See [gio.socket.Socket.setListenBacklog] for details

Parameters

listenBacklogan integer