Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Properties > Greeting Property
ContentsIndexHome
PreviousUpNext
TIdTCPConnection.Greeting Property

Banner or welcome message for a connection to a protocol server.

property Greeting: TIdReply;

Greeting is a TIdReply property that represents the banner or welcome message received during connection to a protocol server. Greeting contains one or more values indicating the initial response read during connection to the server. 

Greeting is initialized during construction of the new object instance, and freed in Destroy

Greeting is not used in TIdTCPConnection. Greeting is normally updated in a descendant class (like TIdNNTP, TIdFTP, etc.) that provides a welcome message in the overridden connect method for the protocol.

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