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-03-07 13:57:21
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