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

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

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.

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