SelectListener.connection_limit

Sets the limit of the number of connections. 0 disables the limitation.

Notes: - If limit is set to something other than 0, limit connection handler objects will be created (so set it to a realistic value). - If not 0, limit must be at least the number of currently busy connections.

  1. size_t connection_limit(size_t limit)
    class SelectListener(T : IConnectionHandler, Args...)
    override
    size_t
    connection_limit
    (
    size_t limit
    )
  2. size_t connection_limit()

Return Value

Type: size_t

limit

Meta