Reputation: 72605
Since TCP header is a relatively large overhead, why don't we compress it in the way that ACK and SEQ share the same field, and they can still be distinguished by flags in the header?
Upvotes: 3
Views: 2566
Reputation:
Because they are not used exclusively. Below is most important: connection negotiation, i.e. the Three Way Handshake:
(source: wikimedia.org)
The picture is from wikimedia commons. It presents how TCP connection is negotiated, and shows that ACK and SEQ are used together in the same header to establish a connection (I write this to be sure that the answer is helpful even if the picture would disappear someday).
Upvotes: 11
Reputation: 84149
Because the connection is full-duplex - one sequences packets to the peer, the other acknowledges packets from the peer.
Upvotes: 4