Gio.Socket.prototype.get_listen_backlog

function get_listen_backlog(): Number(gint) {
    // Gjs wrapper for g_socket_get_listen_backlog()
}
  

Gets the listen backlog setting of the socket. For details on this, see Gio.Socket.prototype.set_listen_backlog.

Since 2.22

Returns

the maximum number of pending connections.