开发者

TCP IP Guaranteed delivery question

HI,

Let us say that there are 10 packets 1-10 and the 6th Packet gets dropped because of a network fault. Doe开发者_如何学Gos 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜