1 / 8

Go-Back-N (GBN)

Go-Back-N (GBN). Yan Gao Feb. 17, 2006. Go-Back-N protocol. Concept Introduce a window of size n Can inject n packets into net before hearing an ACK Sliding window Label each packet with a sequence number A window is a collection of adjacent sequence numbers

lotus
Download Presentation

Go-Back-N (GBN)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Go-Back-N (GBN) Yan Gao Feb. 17, 2006

  2. Go-Back-N protocol • Concept • Introduce a window of size n • Can inject n packets into net before hearing an ACK • Sliding window • Label each packet with a sequence number • A window is a collection of adjacent sequence numbers • The size of the collection is the sender’s window size

  3. Example

  4. Example

  5. Example

  6. Receive Window Maintenance • Receiver keeps a similar window • Receiver has a finite buffer • Let window edge is first packet receiver wants to see • Right window edge is last packet it can hold • Packets < left edge or > right edge dropped • Other packets are queued, allowing for fixing up out-of-order packets

  7. Example

  8. Go-Back-N • Sender has to buffer all unacknowledged packets, because they may require retransmission. • Receiver may be able to accept out-of-order packets, but only up to its buffer limits. • The sender needs to set timers in order to know when to retransmit a packet that may have been lost

More Related