标签:
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)
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/susser43/article/details/46728799