Topic Path: Symbol Reference > Classes > TIdTelnet Class > TIdTelnet Methods > SendCh Method
ContentsIndexHome
PreviousUpNext
TIdTelnet.SendCh Method

Sends a character to the host using optional translation for CR values.

procedure SendCh(
    Ch: Char
);
Parameters 
Description 
Ch 
Character to write to the TELNET connection. 

SendCh is a procedure used to write the character specified in Ch using the TELNET connection. 

When Ch contains a carriage return (CR), the value is written is written using the Write method when connected to a TELNET server. For other server connections, the a CR value in Ch is translated to an end-of-line sequence (EOL). Values other that CR (including LF) are written as received.

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