CS 3413 Data Communications Notes: Data Link Layer Protocols



This material is taken from the Networks book of Tanenbaum

Stop and Wait Code
protocol.h
Sequential Receive Code
Nonsequential Receive Code


Protocol Model:

Sequential Receive (Protocol 5 in Tanenbaum)

This protocoal handles pipelining.
This is important if the propagation delay is large compared to the frame time.

Idea:

Piggyback Acks: This protocol (Protocol 5, Sequential Receive): Some features of this protocol 5: Problem: What to do if receiver does not have a data frame to send?
      What should it do about sending an Ack?
Protocol 5 does not handle this.

Some important variables in this protocol:

What does this protocol have to do for each of the following events:


Nonsequential Receive (Protocol 6 in Tanenbaum)

Example: The following are the events for protocol 6. What needs to be done in each case?


Run the network protocol simulator remotely