Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.MaxConnections
Indicates the maximum numer of peer connections allowed for the server.

property MaxConnections: Integer;
Description
MaxConnections is an Integer property that indicates the maximum number of simultaneous peer connections allowed for the server implementation. MaxConnections can be used to insure that a pre-determined memory or bandwidth threshold is not exceeded. When MaxConnection is 0 (zero), the server does not impose a limit on the maximum number of client connections.

MaxConnections is used when a TIdListenerThread for the server detects a new connection request. If the MaxConnections limit has been exceeed, the MaxConnectionReply message is written to the peer connection and the socket is Disconnected.