Internet Direct (Indy) Version 9.0.1 Beta
TIdSocketHandles.DefaultPort
Specifies the default port number used to identify a socket connection.

property DefaultPort: integer;
Description
DefaultPort is an Integer property that identifies the default port number to assign to a new collection item. DefaultPort will be the value assigned to TIdSocketHandle.Port when the instance is added to the collection.

Note: Many values of DefaultPort are associated, by convention, with a particular service such as ftp or http.