• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC885 - Telnet end of record option

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 13次 | 进入软件测试论坛讨论

领测软件测试网

   
  Network Working Group J. Postel
Request for Comments: 885 ISI
December 1983

TELNET END OF RECORD OPTION

This RFCspecifies a standard for the ARPA Internet community. Hosts on

the ARPA Internet that need to mark record boundaries within Telnet
protocol data are expected to adopt and implement this standard.

1. Command Name and Code

END-OF-RECORD 25

2. Command Meanings

IAC WILL END-OF-RECORD

The sender of this command requests permission to begin
transmission of the Telnet END-OF-RECORD (EOR) code when
transmitting data characters, or the sender of this command
confirms it will now begin transmission of EORs with transmitted
data characters.

IAC WON'T END-OF-RECORD

The sender of this command demands to stop transmitting, or to
refuses to begin transmitting, the EOR code when transmitting data
characters.

IAC DO END-OF-RECORD

The sender of this command requests that the sender of data start
transmitting the EOR code when transmitting data, or the sender of
this command confirms that the sender of data is expected to
transmit EORs.

IAC DON'T END-OF-RECORD

The sender of this command demands that the receiver of the
command stop or not start transmitting EORs when transmitting
data.

3. Default

WON'T END-OF-RECORD

DON'T END-OF-RECORD

END-OF-RECORD is not transmitted.

RFC885 December 1983

4. Motivation for the Option

Many interactive systems use one (or more) of the normal data
characters to indicate the end of an effective unit of data (i.e., a
record), for example, carriage-return (or line-feed, or escape).
Some systems, however, have some special means of indicating the end
of an effective data unit, for example, a special key. This Telnet
option provides a means of communicating the end of data unit in a
standard way.

5. Description of the Option

When the END-OF-RECORD option is in effect on the connection between
a sender of data and the receiver of the data, the sender transmits
EORs.

It seems probable that the parties to the Telnet connection will
transmit EORs in both directions of the Telnet connection if EORs are
used at all; however, the use of EORs must be negotiated
independently for each direction.

When the END-OF-RECORD option is not in effect, the IAC EOR command
should be treated as a NOP if received, although IAC EOR should not
normally be sent in this mode.

6. Implementation Considerations

As the EOR code indicates the end of an effective data unit, Telnet
should attempt to send the data up to and including the EOR code
together to promote communication efficiency.

The end of record is indicated by the IAC EOR 2-octet sequence. The
code for EOR is 239 (decimal).

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网