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

Default port number for listener threads in the server.

property DefaultPort: integer;

DefaultPort is a published property in TIdEchoUDPServer. DefaultPort represents the port number to use when creating listener thread(s) used in the server. 

DefaultPort is used in the Bindings collection. 

Set the value in DefaultPort prior to creating socket handle definitions in Bindings, or setting the servers Active property to True. Changing the value in DefaultPort has no effect on existing definitions in Bindings

The default value for DefaultPort is IdPORT_ECHO 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.