问题 问答题 简答题

解释为什么突然释放运输连接就可能丢失用户数据而使用TCP的连接释放方法就可保证不丢失数据。

答案

参考答案:

当主机1和主机2之间连接建立后,主机1发送了一个TCP数据段并正确抵达主机2,接着主机1发送另一个TCP数据段,这次很不幸,,主机2在收到第二个TCP数据段之前发出了释放连接请求,如果就这样突然释放连接,显然主机1发送的第二个TCP报文段会丢失。而使用TCP的连接释放方法,主机2发出了释放连接的请求,那么即使收到主机1的确认后,只会释放主机2到主机1方向的连接,即主机2不再向主机1发送数据,而仍然可接收主机1发来的数据,所以可保证不丢失数据。

完形填空
完形填空。
     The white snow is calling you to the hills,lakes and ponds.   1   sports are cool. Keep some important
safety tips(安全小贴士)inyour mind before  2  yourself
outdoors. Safetytips forall  3   :
     Always keep yourself warm.Have some training lessons  4  you are new to a sport. Warm up before
all sports. Make sure you are in good physical condition (身体状况). When   5  , wear your helmet.
Always ski with a friend.  6   a hill far away from roads and parking lots. There should be no rocks or
trees. Make sure your bindings are not too tight.   7   skating, never skate by yourself and don't skate
too   8   to other people. Check your skating shoes before you  9  . If you skate on lakes or rivers, make
sure the   10  is thick enough. Neverskate near open water.
( )1. A. Spring  
( )2. A. talking
( )3. A. facts  
( )4. A. if      
( )5. A. playing
( )6. A. Choose  
( )7. A. What    
( )8. A. young  
( )9. A. clean  
( )10. A. place  
B. Summer  
B. fighting
B. sports  
B. or      
B. skiing  
B. Stand  
B. How    
B. close  
B. make    
B. pool    
C. Autumn  
C. enjoying
C. clubs  
C. but    
C. skating
C. Agree  
C. Why    
C. tired  
C. start  
C. water  
D. Winter  
D. washing  
D. things  
D. so      
D. swimming                      
D. Spend    
D. When    
D. happy    
D. say      
D. ice      
单项选择题