Topic Path: Symbol Reference > Classes > TIdRexecServer Class > TIdRexecServer Properties > DefaultPort Property
TIdRexecServer.DefaultPort Property

The 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. 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 Id_PORT_exec as assigned during intialization 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.