Under the tcp protocol, when the sender sends multiple message segments at the same time, how does the ack of the sender be determined, and how does the seq determine when the receiver confirms the connection?

how is the ack determined when the sender sends multiple message segments at the same time under the tcp protocol, and how does the seq determine when the receiver confirms the connection


because multiple messages belong to a TCP stream, only the last message received by ACK is needed. There's a term called Piggybacking.. The receiver's seq can start at 0. But in practice, generally take a 32-bit random number as the starting sequence number, so it is not easy to be attacked.

Menu