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
时间: 2024-10-06 00:28:06
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