HI,
Let us say that there are 10 packets 1-10 and the 6th Packet gets dropped because of a network fault. Does TCP resend's all packets from 6-10 or just 6th ?
HI,
Let us say that there are 10 packets 1-10 and the 6th Packet gets dropped because of a network fault. Does TCP resend's all packets from 6-10 or just 6th ?
It will resend all packets 6 through 10. In fact, since the receiver only tells the sender what sequence number was the last good one, the sender may choose to split up the packets differently (ie. by consolidating packets 6 through 10 into one bigger packet) when resending.
However, I should note that in all my years of socket programming, I've never actually needed to know that detail. I've never written an actual TCP driver, which is the only place you'd need to know that information.
The TCP/IP Illustrated series of books is an excellent resource for this.