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

Port number used to listen for new connections.

property DefaultPort: integer;

DefaultPort is an Integer property that identifies the port number used for new socket bindings created by the server. The value of DefaultPort is read from and written to Bindings.DefaultPort. 

TIdUDPServer uses the DefaultPort number to bind the allocated socket handles when the Active property to set to True. 

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