Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Window, sequence numbers?

Também chamado de: go-back-N · selective repeat

Definition 19.5 University Computer Science — Year 2 · Capítulo 19 — The Transport Layer: UDP and TCP

In a sliding-window protocol, the sender may have up to WW packets sent but not yet acknowledged, the window. Packets carry sequence numbers on kk bits, so numbers are counted modulo 2k2^k. When the oldest packet of the window is acknowledged, the window slides forward. In go-back-N the receiver accepts packets only in order and acknowledges cumulatively, and a timeout makes the sender send its whole window again; in selective repeat the receiver also keeps packets that arrive early, acknowledges each packet separately, and the sender sends again only the packets whose own timer expires.

A sender’s view of the sequence space with k = 3: numbers repeat after 8. When the ack of packet 3 arrives, the window moves one place right and one more packet may go.
A sender’s view of the sequence space with k=3k = 3: numbers repeat after 8. When the ack of packet 3 arrives, the window moves one place right and one more packet may go.
Ler no capítulo →