Internet Direct (Indy)
Home
PreviousUpNext
TIdCmdTCPServer.Greeting Property

"Welcome" message sent to new connections accepted in listener thread(s).

Pascal
property Greeting: TIdReply;

Greeting is a TIdReply property that represents the "Welcome" message sent to new connections accepted in listener thread(s) for the server. 

The value in Greeting is written to the executing client context after the connection is accepted in the listener thread. 

The default value for Greeting is assigned during initialization of the component using the following response code and text: 

 

Code 
Text 
200 
Welcome 

 

Resource allocated to the Greeting property are freed in the Destroy method.

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.