Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Read offline with no ads or diagram watermarks!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP Interactive and Remote Application Protocols
                9  Telnet Protocol

Previous Topic/Section
Telnet Communications Model and the Network Virtual Terminal (NVT)
Previous Page
Pages in Current Topic/Section
12
3
Next Page
Telnet Interrupt Handling Using Out-Of-Band Signaling: The Telnet Synch Function
Next Topic/Section

Telnet Protocol Commands
(Page 3 of 3)

Telnet Protocol Command Codes

Table 281 lists the Telnet protocol commands in numerical byte value order, showing for each its command code and name and describing its meaning and use.


Table 281: Telnet Protocol Commands

Command Byte Value (Decimal)

Command Code

Command

Description

240

SE

Subnegotiation End

Marks the end of a Telnet option subnegotiation, used with the SB code to specify more specific option parameters. See the topic on Telnet options for details.

241

NOP

No Operation

Null command; does nothing.

242

DM

Data Mark

Used to mark the end of a sequence of data that the recipient should scan for urgent Telnet commands. See the topic on Telnet interrupt handling for more information.

243

BRK

Break

Represents the pressing of the “break” or “attention” key on the terminal.

244

IP

Interrupt Process

Tells the recipient to interrupt, abort, suspend or terminate the process currently in use.

245

AO

Abort Output

Instructs the remote host to continue running the current process, but discard all remaining output from it. This may be needed if a program starts to send unexpectedly large amounts of data to the user.

246

AYT

Are You There

May be used to check that the remote host is still “alive”. When this character is sent the remote host returns some type of output to indicate that it is still functioning.

247

EC

Erase Character

Instructs the recipient to delete the last undeleted character from the data stream. Used to “undo” the sending of a character.

248

EL

Erase Line

Tells the recipient to delete all characters from the data stream back to (but not including) the last end of line (“CR”+”LF”) sequence.

249

GA

Go Ahead

Used in Telnet half-duplex mode to signal the other device that it may transmit.

250

SB

Subnegotiation

Marks the beginning of a Telnet option subnegotiation, used when an option requires the client and server to exchange parameters. See the topic on Telnet options for a full description.

251

WILL

Will Perform

In Telnet option negotiation, indicates that the device sending this code is willing to perform or continue performing a particular option.

252

WON’T

Won’t Perform

In Telnet option negotiation, indicates that the device sending this code is either not willing to perform a particular option, or is now refusing to continue to perform it.

253

DO

Do Perform

In Telnet option negotiation, requests that the other device perform a particular option or confirms the expectation that the other device will perform that option.

254

DON’T

Don’t Perform

In Telnet option negotiation, specifies that the other party not perform an option, or confirms a device’s expectation that the other party not perform an option.

255

IAC

Interpret As Command

Precedes command values 240 through 254 as described above. A pair of IAC bytes in a row represents the data value 255.


Perhaps ironically, the Telnet command are not used as much today as they were when Telnet was in its early days, because many of the compatibility issues that we discussed earlier no longer exist. ASCII has become the standard character set of the computing world, so many of the functions such as aborting output or interrupting a process no longer require the use of Telnet commands. They are still widely used, however, for internal Telnet operations such as option negotiation.


Previous Topic/Section
Telnet Communications Model and the Network Virtual Terminal (NVT)
Previous Page
Pages in Current Topic/Section
12
3
Next Page
Telnet Interrupt Handling Using Out-Of-Band Signaling: The Telnet Synch Function
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.