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

Default port number used to listen for client connections.

property DefaultPort: TIdPort;

DefaultPort is a Published property in TIdPOP3Server that indicates the default port number used in listeneing threads that accept new client connections to the server. 

DefaultPort is assigned to the Bindings used for the server. 

Change the value in DefaultPort prior to creating Bindings (using the IDE) or setting the server's Active property to True. Changing the value in DefaultPort after the server has created listener threads and their Bindings has no effect. 

The initial value for DefaultPort is IdPORT_POP3, as assigned during initialization of the component.

TIdTCPServer.Bindings Active

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