Internet Direct (Indy)
Home
PreviousUpNext
TIdRexecServer.DefaultPort Property

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

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.