标签:
1.TCP先连接(三次握手)
client -> server : SYN a
server -> client :SYN b, ack a+1
client -> server ack b+1
2.连接通了,相互发消息
3.断开连接
client->server:FIN m
server->client: ack m+1
server->client: FIN n
client->server : ack n+1
标签:
原文地址:http://www.cnblogs.com/weishuan/p/5191334.html