喉咙长息肉有什么症状| 脾功能亢进是什么意思| ac疫苗是预防什么的| 浮尘是什么意思| 咖啡渣子有什么用途| 三维是什么| 滚刀肉是什么意思| 爽是什么结构| 来是什么生肖| 椭圆形脸适合什么发型| 育婴员是做什么的| 为什么头顶会痛| 11月5号什么星座| 高项是什么| 嘛呢是什么意思| 盗汗是什么症状| 老想睡觉是什么原因| 思维方式是什么意思| 十灵日是什么意思| 杨玉环属什么生肖| 破执是什么意思| 孩子注意力不集中去医院看什么科| 什么是超声波| 什么叫动脉硬化| 固体饮料是什么意思| 耳朵疼吃什么药| 生蚝吃了有什么好处| 婚检检查什么项目| 手术后发烧是什么原因| 头左边痛是什么原因| 造影检查对身体有什么伤害| c7是什么意思| 吩可以组什么词| 拉肚子可以吃什么食物| 舌吻是什么| 藕不能和什么一起吃| 安乃近是什么药| nak是什么牌子| 抽烟为什么会上瘾| 做糖耐前一天需要注意什么| 请自重是什么意思| 图片px是什么意思| 头上长疙瘩是什么原因| 什么的游泳| 什么是妇科病| 欲盖弥彰什么意思| 什么叫腺瘤| 肛门镜检查能查出什么| 人为什么会胡思乱想| 李连杰是什么国籍| 醋泡脚有什么好处和坏处| 肉苁蓉是什么| 肾蕨是什么植物| 甲状腺肿大挂什么科| 心悸是什么症状| 教授是什么级别| 什么是承兑| 医保卡是什么| 水头是什么意思| 马来玉是什么玉| 闭角型青光眼是什么意思| 手指甲有竖纹是什么原因| 为什么会心慌| 男人为什么会晨勃| 咩是什么意思| 智障什么意思| 颈动脉在什么位置| 可乐煮姜有什么作用| 去医院检查艾滋病挂什么科| 倒钩是什么意思| 7月17日什么星座| 尔字五行属什么| 农历六月十八是什么星座| 5月23日是什么星座| 胶原蛋白什么时候喝最好| 喝ad钙奶有什么好处| offer什么意思| 四五天不排便是什么原因| 吃生蚝补什么| 简单是什么意思| 杜甫世称什么| 各类病原体dna测定是检查什么| 脂肪肝能吃什么水果| 水浒是什么意思| 结核有什么症状| 五指毛桃什么人不能吃| ferragamo是什么牌子| 促排卵针什么时候打| 脆肉鲩是什么鱼| 晚上11点是什么时辰| 口痰多是什么原因| 看痘痘挂什么科| 省委委员是什么级别| 打醮是什么意思| 青苹果什么时候成熟| police是什么意思| 穿裙子搭配什么鞋子| 立是什么意思| o型血孩子父母是什么血型| hpy什么意思| 发飙什么意思| 肝囊肿是什么原因造成的| 去医院看舌头挂什么科| 智商高是什么意思| 高血压头晕吃什么药| 一个月来两次月经是什么原因| 什么动物的血是蓝色的| 龟粮什么牌子的好| 肾结石是什么原因导致的| 小孩病毒性感冒吃什么药效果好| 吃钙片有什么副作用| 善对什么| 补办护照需要什么材料| 血漏是什么病| absolutvodka什么酒| 缺乏维生素b12的症状是什么| 数字2代表什么意思| 装垃圾的工具叫什么| 指示是什么意思| 抢救失血伤员时要先采取什么措施| 为什么一直打哈欠| 菠萝为什么要用盐水泡| 麻梨疙瘩是什么树| 肩周炎挂什么科室| 犹太人什么意思| 生长激素分泌的高峰期是什么时候| 事宜愿为是什么意思| 母亲节送什么颜色的康乃馨| 孤品是什么意思| 琥珀五行属什么| 晶莹剔透是什么意思| 淋病是什么病| 玉米水喝了有什么好处| 子宫内膜为什么会增厚| 1942年属什么生肖| 咳嗽去医院挂什么科| 闻思修是什么意思| 前胸后背长痘痘用什么药| 股骨长径是指胎儿什么| 什么的事物| 腰椎疼痛挂什么科| 儿童流鼻血挂什么科| 梦见自己大便是什么意思| 什么人容易得淋巴癌| 梦见别人怀孕是什么意思| 琼字代表什么生肖| 什么地问填词语| 多尔衮是什么意思| 电商五行属什么| 四月初八是什么日子| 匪气是什么意思| 胃糜烂是什么症状| 大陆对什么| 优思悦是什么药| 额额是什么意思| 日仄念什么| 香肠炒什么菜好吃| 舌头中间裂纹是什么病| 青霉素过敏不能吃什么药| 拉稀吃什么药| bioisland是什么牌子| 中国海警是什么编制| 晚上蝴蝶来家什么预兆| 倒着走路有什么好处| 手上有红点是什么原因| 飒的意思是什么| 嘴唇干裂脱皮是什么原因| 数字1代表什么意思| 温州有什么好玩的| 婴儿眉毛上黄痂是什么| 口业是什么意思| 肩膀发麻是什么原因| rdw是什么意思| 的近义词是什么| 炖排骨什么时候放盐最好| 纸醉金迷下一句是什么| 痛风喝什么茶最好| 石斛什么价格| 12月20号是什么星座| c1开什么车| 什么专业就业前景好| 大意失荆州是什么意思| 狗是什么偏旁| 学架子鼓有什么好处| 为什么想到一个人会心痛| 脸过敏发红痒擦什么药| 胸闷气短吃什么中成药| 手脱皮什么原因| 玉米芯有什么用途| 牛肉和什么相克| 心慌什么原因引起的| 孙权与孙策是什么关系| sakura是什么牌子| 身体怕热是什么原因| 人到中年为什么会发胖| 喝陈皮有什么好处| 自由职业可以做什么| 什么地开放填空| 思维什么意思| 吃什么可以软化肝脏| 乔迁送什么| 肥皂水是什么| 结婚纪念日送什么礼物| 亲子鉴定挂什么科| 人绒毛膜促性腺激素是查什么的| 身份证拍照穿什么衣服| 张牙舞爪是什么生肖| 桃花像什么| 为什么会得经期综合症| 什么牌子的燃气灶质量好| 梦见修路是什么预兆| 十一月二十是什么星座| 脖子皮肤黑是什么原因| 长沙有什么学校| 梦见野猪是什么预兆| 地支是什么意思| 感冒可以吃什么| 跑马是什么意思| 工作单位是什么意思| 上山下乡是什么意思| 南笙是什么意思| 2025年什么年| 脸上有红血丝是什么原因| 女人吃桃子有什么好处和坏处| lmy是什么意思| 为什么晚上不能吃姜| 牙根变黑是什么原因| 头上戴冠是什么生肖| 10月14日什么星座| 琼脂是什么东西| 乘风破浪什么意思| 曙光什么意思| 膝盖疼做什么检查最好| 晕血是什么症状| 什么水果是寒性的| 3月3号是什么星座| 什么芦荟可以直接擦脸| 肠鸣是什么原因引起的| 鹦鹉可以吃什么| 惊恐是什么意思| 平均红细胞体积偏低是什么原因| 理想主义者是什么意思| 乳房结节是什么原因引起的| 滑膜疝是一种什么病| 补肾吃什么食物| 彬字五行属什么| 突然不硬是什么原因| 鼓上蚤是什么意思| 什么作用| 无语凝噎是什么意思| 男性雄激素低吃什么药| 十月初三是什么星座| 零七年属什么生肖| 肝阴虚吃什么中成药| 被蚂蚁咬了用什么药| 什么扑鼻成语| 紫色睡莲的花语是什么| 好整以暇什么意思| 蒲公英和什么相克致死| 一切有为法是什么意思| 什么水果维生素c含量最高| 经期为什么不能拔牙| 5月4日是什么星座| 葫芦什么时候成熟| 百度

Network Working Group                                          S. Crocker
Request for Comments: 36                                    16 March 1970


                             Protocol Notes

I Overview
  --------

   The network protocol provides three facilities:

         1.  Connection establishment

         2.  Flow control

         3.  Reconnection

   Reconnection is considered separately from connection establishment
   partly because of the complexity of reconnection and partly because I
   don't have enough experience with the protocol to present these
   concepts in an integrated fashion.

   Connection Establishment
   ------------------------

   Connection establishment works essentially the same as in NWG/RFC
   #33.  The major change is that a more general form of switching is
   provided independently of establishment, so establishment is
   simplified by not including switching procedures.

   A rough scenario for connection establishment follows:

   1.  Process PA in host A grabs socket SA and requests connection with
       socket SB.  Process PA accomplishes this through a system call.

   2.  Concurrently with the above, process PB in host B grabs socket SB
       and requests connection with socket SA.

   3.  In response to process PA's request, the network control program
       in host A (referred to as NCPA) sends a Request-for-Connection
       (RFC) command to host B.  NCPB in host B sends a similar command
       to host A.  No ordering is implied: NCPB may send the command to
       NCPA before or after receiving the command from NCPA.

   4.  NCPA and NCPB are both aware the connection is established when
       each has received a RFC command and each has received the RFNM
       for the one it has sent.  They then notify processes PA and PB,
       respectively, that the connection is established.



Crocker                                                         [Page 1]


RFC 36                       Protocol Notes                   March 1970


   One of the rules adhered to is that either SA is a send socket and SB
   is a receive socket or vice versa.  This condition is sometimes
   stated as "SA and SB must be  a send/receive pair."

   5.  The sending process may now send.

   Flow Control
   ------------

   In order to prevent a sending process from flooding a receiving
   processes it is necessary for the receiving process to be able to
   stop the flow(*).  Flow control is integrated into the network RFNM
   handling.  When a receiving host wishes to inhibit flow on a
   particular link, the host sends a special message to its IMP which
   causes the next RFNM on that link to be modified.  The sending host
   interprets this message as a RFNM and as a request to stop sending.
   A confirming control command is returned.

   When the receiving host is ready to receive again, it sends a command
   (RSM) telling the sending host to resume sending.

   Reconnection
   ------------

   For a great many reasons it is desirable to be able to switch one (or
   both) ends of a connection from one socket to another.  Depending
   upon the restrictions placed upon the switching process, it may be
   easy or hard to implement.  To achieve maximum generality, I present
   here a scheme for dynamic reconnection, which means that reconnection
   can take place even after flow has started.  It may turn out that for
   the majority of cases, this scheme is much more expensive than it
   needs to be; however, the following virtues are claimed:

      1. All various forms of switching connections are provided.

      2. Reconnection introduces no overhead in the processing of
         messages sent over a connection i.e., the whole cost is borne
         in processing the protocol.

   ---------------------------------------------------
   *BB&N argues that unlimited buffering should be provided.  It is
   possible that this would be a proper strategy: but it is foreign to
   my way of thinking, and I have based the protocol design on the
   assumption that only a small buffer is provided on the receive end of
   each connection.






Crocker                                                         [Page 2]


RFC 36                       Protocol Notes                   March 1970


II  Data Structures
    ---------------

    1.  Connection Table
    2.  Process Table
    3.  Input Link Table
    4.  Output Link Table
    5.  Link Assignment Table

   Connection Table
   ----------------

   This holds all information pertaining to local sockets, particularly
   whether a socket is engaged in a connection, and if so, what state
   the connection is in.  Entries are keyed by local socket, but other
   tables have pointers into this table also.  (See the Process Table,
   Input Link Table, and Output Link Table.)

   Each entry contains the following information:

         a)  local socket (key)
         b)  foreign socket
         c)  link
         d)  connection state
         e)  flow state and buffer control
         f)  pointer to user's process
         g)  reconnection control state
         h)  queue of waiting callers

   The local socket is a 32 bit number.  If no entry exists for a
   particular socket, it may be created with null values.

   The foreign socket is a 40 bit number.  This field will be unassigned
   if no connection is established.

   The link is an 8 bit number and is the link over which data is sent
   from the sender to the receiver.  A socket is a receive socket iff
   its low-order bit is zero.

   Connection state refers to whether a connection is open or not, etc.
   The following possibilities may occur.

         a)  local process has requested a connection
         b)  foreign process(es) has/have requested a connection
         c)  connection established
         d)  reconnection in progress
         e)  close waiting
         f)  reconnection waiting



Crocker                                                         [Page 3]


RFC 36                       Protocol Notes                   March 1970


   Flow state and buffer control refer to checking for RFNM's sending
   and accepting cease, suspend and resume commands, and keeping track
   of incoming or outgoing data.

   A pointer to the user's process is necessary if the process has
   requested a connection.

   If reconnection is in progress, it is necessary to keep track of the
   sequence of events.  A socket engaged in reconnection is either an
   end or a middle.  If it's a middle, it is necessary to store the
   eight bit name of the other middle attached to the same process, and
   to record receipt of END and RDY commands.

   Finally, if RFC's are received either when the socket is busy or when
   no process has engaged it, the RFC's are stacked first-in-first-out
   on a queue for the named local socket.

   Process Table
   -------------

   This table associates a process with a socket.  It is used to process
   system calls.

   Input Link Table
   ----------------

   This table associates receive links with local sockets.  It is used
   to decide for whom incoming messages are destined.

   Output Link Table
   -----------------

   This table associates send links with local sockets.  It is used to
   interpret RFNM's and RSM commands.

   Link Assignment Table
   ---------------------

   Links are assigned by receivers.  This table shows which links are
   free.











Crocker                                                         [Page 4]


RFC 36                       Protocol Notes                   March 1970


III   Control Commands
      ----------------

                          Command Summary



   0         <NOP>
   1         <RFC> <me> <you>   or   <RFC> <me> <you> <link>
   2         <CLS> <me> <you>
   3         <RSM> <link>
   4         <SPD> <link>
   5         <FND> <me> <you> <asker>
   6         <END> <link> <end>
   7         <RDY> <link>
   8         <ASG> <me> <you> <link>


                               Commands
No Operation

   Form:    NOP
            NOP  is X'00'

   Purpose:  This command is included for completeness and
             convenience.

Request for connection

   Form:    <RFC> <my socket>  <your socket>
     or     <RFC> <my socket>  <your socket>  <link>
            <RFC> is X'01'
            <my socket> is a 32 bit socket number local to the
            sender
            <your socket> is a 32 bit socket number local to the
            receiver
            <link> is an eight bit link number.
            <my socket> and your socket must be a send/receive pair.
            <link> is included if and only if <my socket> is a
            receive socket

   Purpose:  This command is used to initiate a connection.  When
             two hosts have exchanged  RFC  commands with the same
             arguments (reversed), the connection is established.
             Links are assigned by the receiver.






Crocker                                                         [Page 5]


RFC 36                       Protocol Notes                   March 1970


Close

   Form:    <CLS> <my socket> <your socket>
            <CLS> is X'02'
            <my socket> and <your socket> are the same as for <RFC>

   Purpose:  This command is used to block a connection.  It may
             also be used to abort the establishment of a connection
             or to refuse a request.  It may happen that no
             connection between the named sockets was established,
             or was in the process of being established.  In this
             event, the <CLS> should be discarded.

Resume

   Form:    <RSM> <link>
            <RSM> is X'03'

   Purpose:  This command is sent by a receiving host to cause the
             sending host to resume transmission on the named link.
             A sending host suspends sending if it receives a
             special RFNM for some message.  (Special RFNM's are
             generated by the receiving IMP upon request by its
             host.)

Suspended

   Form:    <SPD> <link>
            <SPD> is X'04'

   Purpose:  This command is sent by a sending host to acknowledge
             that it has stopped sending over the named link.
             Transmission will resume if a <RSM> command is
             received.

Final End

   Form:    <FND> <my socket> <your socket> <asker>
            <FND> is X'05'
            <my socket> is a 32 bit socket number of a socket local
            to the sender
            <your socket> is a 32 bit socket number of a socket
            local to the receiver
            <my socket> and <your socket> form a send/receive pair.
            A connection should be established between them.
            <asker> is a 40 bit socket number of the same type as
            <my socket>




Crocker                                                         [Page 6]


RFC 36                       Protocol Notes                   March 1970


   Purpose:  If a process decides to short-circuit itself by connecting
             one of its receive sockets to one of its send sockets, the
             NCP sends out two <FND> commands -- one in each direction.
             Each one has <asker> initialized to <my socket>.

             Upon receiving an <FND> command, the NCP checks its <your
             socket>.  If <your socket> is already engaged in a
             reconnection, the command is passed on with a new <my
             socket> and <your socket>.  However, before it is passed
             on, the <asker> is compared with the new <my socket>.  If
             they are equal, a loop has been detected and both sockets
             are closed.

             If <your socket> is not engaged in a reconnection, it is
             marked as the end of a chain of reconnections and an <END>
             is sent back.

             If the connection named is not in progress, a <CLS> is sent
             back and the <FND> is discarded.

End Found

   Form:    <END> <link> <end socket>

            <END> is X'06'
            <link> is an 8 bit link

            <end socket> is a 40 bit socket

   Purpose:  This command indicates which socket is at the end of a
             chain of reconnections.  It is generated at <end
             socket> and passed back to the other terminal socket
             via all the intermediate sockets.  If <end socket> is a
             send socket, <link> refers to a connection with the
             send socket in the sending host and the receive socket
             in the receiving host.  If <end socket> is a receive
             socket, <link> refers to a connection with the send
             socket in the receiving host and the receive socket in
             the sending hose.  ("sending" end "receiving" refer to
             the transmission of this control command.)











Crocker                                                         [Page 7]


RFC 36                       Protocol Notes                   March 1970


Ready

   Form:    <RDY> <link>

            <RDY> is X'07'
            <link> is an 8 bit link number

   Purpose:  This command is sent from a send socket to a receive
             socket to indicate that all messages have been
             forwarded and that reconnection may occur.

Assign New Link

   Form:    <ASG> <my socket> <your socket> <link>

            <ASG> is X'08'

   Purpose:  This command completes a reconnection.  It is sent from
             a receive socket to a send socket after the receive
             socket has received a <RDY>.  A new link is assigned
             and transmission commences.

          [ This RFC was put into machine readable form for entry ]
           [ into the online RFC archives by Marc Blanchett 3/00 ]



























Crocker                                                         [Page 8]
增强记忆力吃什么 眉州东坡是什么菜系 ap手表是什么牌子 思前想后是什么意思 ciel是什么意思
穿梭是什么意思 什么情况不能献血 碘吃多了有什么危害 小孩爱流鼻血是什么原因 乡和镇的区别是什么
世袭罔替是什么意思 记忆是什么 91年属什么 紫苏煮水喝有什么功效 秦始皇什么星座
ab型血生的孩子是什么血型 拉肚子吃点什么食物好 动脉硬化吃什么可以软化血管 三体是什么 防风通圣颗粒治什么病
乙肝表面抗体偏高是什么意思hcv9jop0ns2r.cn 金银花有什么作用xinmaowt.com 舌根部淋巴滤泡增生吃什么药hcv9jop5ns3r.cn 5月4日什么星座hcv9jop3ns6r.cn 熊掌有什么功效与作用jinxinzhichuang.com
93年的鸡是什么命hcv9jop3ns8r.cn 手麻抽筋是什么原因引起的hcv9jop3ns0r.cn leu是什么氨基酸hcv8jop1ns3r.cn 蚰蜒是什么hcv8jop7ns5r.cn 德国是什么人种hcv9jop6ns3r.cn
什么醒酒最快hcv8jop6ns0r.cn 甲状腺看什么门诊hcv9jop4ns6r.cn 嫡庶是什么意思hcv9jop2ns0r.cn 做高铁不能带什么hcv8jop8ns8r.cn 阿司匹林什么时候吃hcv8jop6ns5r.cn
什么最解渴hcv9jop7ns9r.cn 俞伯牙摔琴谢知音摔的是什么乐器hcv8jop0ns2r.cn 属鼠女和什么属相最配hcv9jop8ns1r.cn 气场强大是什么意思tiangongnft.com 口吐白沫是什么病hcv9jop3ns4r.cn
百度