首页 > 其他 > 详细

TCP closing a connection

时间:2016-01-25 12:44:05      阅读:166      评论:0      收藏:0      [点我收藏+]

client closes socket:

clientSocket.close();


step1 :client sends TCP FIN control segment to server


step2: Server receives FIN,replies with ACK. Closes connection,sends FIN.


time wait 30 seconds(in order to receive the package which already send but unreceived)

技术分享

技术分享技术分享



TCP waits until it has been three duplicate ACKs before retransmitting the packet

TCP closing a connection

原文:http://www.cnblogs.com/mengfanrong/p/5156888.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!