Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.MaxConnectionReply
Represents the message used when peer connections exceed their limit.

property MaxConnectionReply: TIdRFCReply;
Description
MaxConnectionReply is a TIdRFCReply property that represents the RFC message response to use when the number of peer connections to the server exceeds MaxConnections. MaxConnectionReply is used when a TIdListenerThread cannot accept a new connection due to the condition. The generated reply from MaxConnectionReply is written to the peer connection, and the peer is Disconnected.

Use MaxConnections to establish the connection limit for the server implementation.