Internet Direct (Indy)
Home
PreviousUpNext
TIdRSHServer.DefaultPort Property

Port number used when listening for new client connections.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.