Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnetState Enumeration

Represents TELNET client states.

Pascal
TIdTelnetState = (
  tnsDATA,
  tnsIAC,
  tnsIAC_SB,
  tnsIAC_WILL,
  tnsIAC_DO,
  tnsIAC_WONT,
  tnsIAC_DONT,
  tnsIAC_SBIAC,
  tnsIAC_SBDATA,
  tnsSBDATA_IAC
);

TIdTelnetState is an enumerated type that identifies the valid states for the TIdTelnet client. TIdTelnetState is updated in the TELNET client to reflect the nature and use of the data received by the client. 

The following values are valid for TIdTelnetState: 

 

Value 
Meaning 
tnsDATA 
Data follows. 
tnsIAC 
Interpret as Command. 
tnsIAC_SB 
Suboption begin. 
tnsIAC_WILL 
Desire to perform or confirm the option. 
tnsIAC_DO 
Request the peer to perform or confirm the option. 
tnsIAC_WONT 
Desire to cease or confirm stopping the option. 
tnsIAC_DONT 
Request the peer to cease or confirm stopping. 
tnsIAC_SBIAC 
Suboption Interpret as Command. 
tnsIAC_SBDATA 
Suboption Interpret as Data. 
tnsSBDATA_IAC 
Suboption Data extension to Interpret as Command. 

 

TIdTelnetState is the type used to represent the current state for the TIdTelnet client.

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.