Topic Path: Symbol Reference > Classes > TIdTelnet Class > TIdTelnet Properties > Host Property
ContentsIndexHome
PreviousUpNext
TIdTelnet.Host Property

Identifies the IP address or host name for the connection.

property Host;

Host is a published property in TIdTelnet that identifies the IP address or host name for the TELNET connection. 

Use Port to set a port number for the connection other than the default value used by the TELNET protocol (IdPORT_TELNET). 

Set the property values in Host and Port prior to calling Connect to establish the TELNET client connection, and start the reader thread in TelnetThread.

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