Internet Direct (Indy)
Home
PreviousUpNext
TIdTCPConnection.Greeting Property

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.