Tcp – What happens when TCP Sequence Number is incorrect

tcp

Let's assume that A is connected to B, and A has received 100 bytes until now. So, the next packet he will receive should have a SEQ number of 100 or a little more if the packets don't reach A in order.

What happens if he receives a significantly different value, for example, 800?

Best Answer

Queue the traffic waiting for the rest of the traffic to arrive. If that traffic doesn't appear within some hold-off period, it will re-ACK the last segment it received. This is all well documented TCP processing. (read: use any search engine, or visit a book store.)

Related Topic