分享
 
 
 

RFC42 - Message Data Types

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group E.I. Ancona

Request for Comments: 42 M.I.T. Lincoln Laboratory

31 March 1970

Message Data Types

Proposal:

We propose that the first eight bits of a normal message be reserved

for a message data type. Adoption of this convention does not in any

way signify agreement as to the actual data types to be used. It

merely establishes the convention that the first eight bits of every

normal message are not available for user data.

Discussion:

Socket Port

____________

V V / V / = /==

-------(+)->Y--><

= \==

PROCESS

= /==

-------(-)->X<--<

= \==

\ /

\____________/

It is important that conventions regarding the contents of messages

be set up early so that there will not be a large proliferation of

sUCh conventions between every pair of programs running on the

network.

As network usage grows, network languages may develop for specifying

both the syntax and semantics of messages. However, even before such

conventions are developed, a simple way of describing such a

specification is by means of a message type which both sender and

receiver know how to interpret.

It is important that currently running programs still run with this

convention; thus, we propose that two system programs be written

which initially put in and test and remove the type information from

the message. Let us call these two programs X and Y, for lack of

better names. In general, X and Y will perform transformations on

the data, e.g., change character sets or number formats. As network

usage grows, X and Y might become table driven with the table

specified by the user.

Standard Types and Local Types:

We propose to distinguish between two kinds of message data types:

standard and local.

Since our two transformation programs cannot be eXPected to perform a

transformation between every possible data representation and the

data representation of the machine they are running on, and also

since the addition of a data representation should not necessarily

involve a change to X or Y, we propose that only a fixed number of

message types have meaning throughout the network. These are

standard types.

There are two classes of local types: MYLOCAL and YOURLOCAL. A

message type MYLOCAL n implies: this is type n of the set of types of

the sending host. YOURLOCAL n implies: this is type n of the set of

types of the receiving host.

Conventions:

A possible implementation of standard and local types is to define

standard type 0 to be YOURLOCAL and standard type 1 to be MYLOCAL. In

these cases, the second byte would be the local type number.

Local type 0 would mean user-specified, i.e., the message contents

are unchanged and unchecked. Installations would define their own

local type numbers and these would normally be available from the

Network Information Center.

Thus initially, all messages sent to currently running programs will

be type 0, n and all messages received from currently running

programs will be type 1, n where n is the local type number of the

character set of the installation.

Examples of Possible Standard Types:

0. YOURLOCAL

1. MYLOCAL

2. U.S. Ascii

3. EBCDIC

4. Mod 33 TTY Ascii

5. Load table driven translator table #n. If, in the

future, the X and Y transformation boxes are table

driven, this gives the table. The table number n is

stored in the second byte of the message.

6. Use table driven translator table #n.

7. Network standard graphics message.

Examples of Local Types:

1. Local Character sets, e.g., Lincoln writer, DEC Ascii,

etc.

2. Graphics local messages, e.g., TX-2 Apex display

executive calls, GSAM.

[ This RFCwas put into machine readable form for entry ]

[ into the online RFCarchives by Robbie Bennet 11/98 ]

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有