知行合一

享受过程 漠视结果

导航

tcp断开过程

      Client                            消息                                    Server

         close()
                                      ------ FIN ------->
        FIN_WAIT1                                                         CLOSE_WAIT
                                      <----- ACK -------
        FIN_WAIT2
                                                                                  close()
                                       <------ FIN ------                    
        TIME_WAIT                                                       LAST_ACK      

                                      ------ ACK ------->
                                                                                   CLOSED
           CLOSED

posted on 2013-01-31 10:31  项羽  阅读(162)  评论(0编辑  收藏  举报