Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnet.SendCh Method

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

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

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.