Topic Path: Symbol Reference > Classes > TIdSocketHandle Class > TIdSocketHandle Properties > ClientPortMax Property
TIdSocketHandle.ClientPortMax Property

Indicates the maximum port number allowed for binding a socket handle.

property ClientPortMax: TIdPort;

ClientPortMax is a TIdPort property used to indicate the maximum port number allowed when Bind is called for the socket handle in the connection. 

ClientPortMax is used when Port contains 0 (zero). 

ClientPortMax is used in conjunction with ClientPortMin to determine the range of port numbers allowed for the bound socket handle. The value of ClientPortMax should be larger than the value of ClientPortMin

The default value is 0.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.