RFC914 - Thinwire protocol for connecting personal computers(2)

时间:2005-02-11 来源: 作者: 点击:
in the RIDBuff. The higher level application can then take data off on the CODBuff, incrementing SOD as it does so. STARTING UP AND FINISHING OFF COMMUNICATIONS The problem is that the SLIP's on eith
  
in the RIDBuff. The higher level application can then take data
off on the CODBuff, incrementing SOD as it does so.

STARTING UP AND FINISHING OFF COMMUNICATIONS

The problem is that the SLIP's on either side need to know (and
keep knowing) the sequence number of the other SLIP. The easiest
way to solve most of these problems is to have the SLIP check the
Request to Send and Clear to Send Lines to see if the other SLIP
is active. On startup, or if it has reason to believe the other
side has died, the SLIP assumes: all connections are closed, no
data from any connection has been sent, and both its SEQ and the
SEQ of the other SLIP are zero. To start up a connection, the
instigating SLIP sends a SSNM with its starting sequence number in
it. The receiving SLIP acknowledges this SSNM and replies with
its starting sequence number (combined into one message). Then
the sending SLIP acknowledges the receiving SLIP's starting
sequence number and the transmission commences. This is the three
way handshake taken from TCP, After which data transmission can
begin.

------分隔线----------------------------
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
推荐内容