单选题
When the system upon which a transport entity is running fails and subsequently reatarts, the ______ information of all active connections is lost. The affected connections become half-open, as the side that did not fail does not yet realize the promble.
The still active side of a half-open connections using a ______ timer. This timermeasures the time transport machine will continue to await an ______ of a transmitted segment after the segment has been retransmitted the maximum number of times. When the timer ______, the transport entity assumes that either the other transport entity or the intervening network has failed. As a result, the timer closes the connection, and signals an abnormal close to the TS user.
In the event that a transport entity fails and quickly restart, half-open connections can be teminated more quickly by the use of the RST segment. The failed side returns an RST
i
to every segment i that it receives. When the RST
i
reaches the other side, it must be checked for validity dased on the ______ number i, as the RST could be in response to an old segment .If the reset is valid, the transport entity performs an abnormal termination.
【正确答案】
D
【答案解析】
【正确答案】
B
【答案解析】
【正确答案】
B
【答案解析】
【正确答案】
A
【答案解析】
【正确答案】
C
【答案解析】[解析] 当传输实体所在的系统失效并且重新启动后,所有活动连接的状态(state)信息都会丢失。受其影响的连接形成了半开放状态,但是没有失效的一方,还没有认识到这个问题。
半连接中仍旧活动的一方可以使用放弃(give-up)定时器来关闭连接。该定时器测量一个段重发最大次数后等待应答(acknowledgment)的时间。当该定时器超时(expires)后,传输实体假定对方传输实体或中向的网络己经失效。结果是,定时器关闭连接,并向传输用户发出非正常关闭的通知。
在一个传输实体失效并且很快重启动的情况下,使用RST段可以更快地终止半连接。失效一方对它接收到的每一个段i,返回一个RST
i
。当RST
i
到达另一边时,应该验证它的序号(sequence)i,因为RST有可能是对老数据段的响应。如果重启是有效的,传输实体将完成非正常终止过程。