Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你能帮我回答这个问题并解释一下吗?谢谢你。
假设其他数据包被正确接收并且没有过早超时。那么重传的数据包的序号就是。
返回-N:2 和 3。
选择性重复:仅 2 次。
这就是原因。
Go-Back-N:由于序列号为2的数据包丢失,接收端只累计确认序列号最多为1。发送端只接收到最多为1的确认号。当超时发生时,发送端将重新发送所有的数据包尚未得到承认。也就是2和3。
选择性重复:接收方不使用累积确认。它将向正确接收的数据包发送确认。即 0, 1, 3。在发送方,只有序列号 2 的确认没有收到。当超时发生时,它只重新发送序号为 2 的数据包。