Topic Path: Symbol Reference > Classes > TIdRSHServer Class > TIdRSHServer Properties > DefaultPort Property
ContentsIndexHome
PreviousUpNext
TIdRSHServer.DefaultPort Property

Port number used when listening for new client connections.

property DefaultPort: TIdPort;

DefaultPort is an Integer property that represent the default port number used to listen for new client connections to the server. 

The value of DefaultPort is provided for use with TIdSocketHandles. TIdTCPServer and descendant classes use the DefaultPort number to bind allocated sockets handles when the Active property to set to True. 

The default value for DefaultPort is IdPORT_cmd as assigned during initialization of the component.

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