Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnet.OnTelnetCommand Event

Specifies the TELNET command event handler.

Pascal
property OnTelnetCommand: TIdTelnetCommandEvent;

OnTelnetCommand is the TIdTelnetCommandEvent property representing the event handler used to respond to TELNET commands and status changes received by the TIdTelnet client. 

Applications should assign a procedure to the event handler in order to respond to specific TELNET commands, or to perform TELNET options; i.e. tncNoLocalEcho, tncLocalEcho, or tncEcho. 

OnTelnetCommand is used when data is read using the TelnetThread, and the TELNET state and protocol negotiations indicate the command in the TELNET buffer should be executed.

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.