RAD Studio VCL Reference
|
Sets or returns the MaxConnections used by the socket.
property MaxConnections: Integer;
__property int MaxConnections;
Set MaxConnections to adjust the number of HTTP request messages the application can handle simultaneously. Use the ActiveCount and InactiveCount properties to get a sense of the frequency and duration of request messages. Then set MaxConnections so that it is high enough to avoid exceptions when the application runs out of Web modules, but low enough not to degrade performance too severely by running too many simultaneous threads.
If a request message is received when ActiveCount is already at MaxConnections, the application raises an exception.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|