SocketListener.setBacklog

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

class SocketListener
void
setBacklog

Parameters

listenBacklog int

an integer

Meta

Since

2.22