RFC860

xiaoxiao2021-03-06  118

Organization: China Interactive Publishing Network (http://www.china-pub.com/)

RFC Document Chinese Translation Program (http://www.china-pub.com/compters/emook/aboutemook.htm)

E-mail: Ouyang@china-pub.com

Translator: Gu Guofei (GGFEI GGFEI@263.net)

Translation time: 2001-4-2

Copyright: This Chinese translation copyright belongs to China Interactive Publishing Network. Can be used for non-commercial use free reprint, but the translation and copyright information of this document must be retained.

Network Working Group J. Postel

Request for Comments: 860 J. Reynolds

ISI

Obsoletes: NIC 16238 May 1983

RFC 860 Telnet TIMING MARK Options

(RFC 860 Telnet TIMING MARK OPTION)

This RFC specifies the standards on ARPA Internet Community. All hosts on the ARPA Internet should adopt and implement this standard.

table of Contents

1. Command Name and Code 2

2. Command meaning 2

3. Default 2

4. Options Cause 2

5. Specific description 3

Command name and code

Timing-Mark 6

2. Command meaning

* Iac Do Timing-Mark

The command issuer requires the recipient to return a WILL TIMING-MARK in the appropriate position of the data stream, and the specific location will be described later in the article.

* Iac Will Timing-Mark

The command issuer confirms that the recipient is willing to synchronize and issues Do Timing-Marking.

* Iac Won't Timing-Mark

The command issuer refuses to add a command to determine synchronization in the data stream.

* Iac Don't Timing-Mark

The command issuer is ignored by command the received Will Timing-Mark received.

3. Default

Won't Timing-Mark, Don't Timing-Mark, that is, by default, it is not synchronized with activities at both ends of Telnet by default.

4. Options Cause

Sometimes the user needs to know that the other end of the Telnet has completed the data processing, this option is more useful, even if it is rejected, the retained code also indicates that the original issued is received.

Below is an example, you can imagine a full-duplex server that allows users to pre-enter some commands before processing user input. Suppose both parties agree with the Suppress Go Ahead option, and the server agrees to provide echo. Now the server abandoned a unknown command, this command may be a user's input error, the server may discard all the commands that the user entered, and issue an error command to the user, and start processing the user after the user sees the error message. New command. If the user is locally, the system can discard the buffer input, but the user input may buffer in the user host or elsewhere. Therefore, the server must issue DO TIMING-MARK and want to get WILL TIMING-MARK as appropriate in the data stream. This right place is the first character that the user enters the error message.

In the above example, if the user is aware that hences you enters an error, you want to correct this error before the server reacts and returns to the pre-input state. It allows your own system to send Will Timing-Mark to the server and then start again. In this case, the appropriate location is defined by the user. In the above two, the system is responsible for transmitting the DO TIMING-MARK to abandon data, and Will Timing-Mark is used to provide information about what characters should abandon. 5. Specific description

Suppose processes A hoping with B synchronization, a issuance of DO TIMING-MARK, if the B refuses, Won't Timing-Mark is issued, if it is intended to discharge the TIMING MARK to the output buffer buf2. Do not transfer data to the terminal, but input the tag into the reception buffer BUF1, sent to A. When the marker enters BUF1, b issues Will Timing-Mark to A.

When A receives Will Timing-Mark, it knows all data B issued before the Timing Markf issued. Below is this option three typical purposes:

A. Measure the response between the process and the terminal or between the processes and processes.

B. Synchronous interaction, the process is as described above. When A receives illegal commands, it can:

i. Send , and .

Ii. Send Do Timing-Mark

Iii. Working error message

IV. Start reading the input and abandon until Will Timing-Mark

v. Important begins explaining input

This reaches the purpose of abandoning all the data after the illegal order before the user actually sees Question Mark.

C. B's end user wants to abandon some unwanted outputs from A,

i. b issues Do Timing-Mark, followed by some new commands

Ii. b Start reading A output, abandon the received data until Will Timing-Mark.

Iii. b Re-forwarding A output to the terminal

This abandon all output from A, until a see TIMING MARK, but is not the output of the next command to respond.

RFC 860 Telnet TIMING MARK OPTION RFC 860 Telnet TIMING MARK Options

1

2

RFC Document Chinese Translation Program

转载请注明原文地址:https://www.9cbs.com/read-125984.html

New Post(0)