














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































The data link layer needs to pack bits into
The data link layer needs to pack bits into frames
frames , so
, so
that each frame is distinguishable from another. Our
that each frame is distinguishable from another. Our
postal system practices a type of framing. The simple
postal system practices a type of framing. The simple
act of inserting a letter into an envelope separates one
act of inserting a letter into an envelope separates one
piece of information from another; the envelope serves
piece of information from another; the envelope serves
as the delimiter.
as the delimiter.
Fixed-Size Framing
Variable-Size Framing
Topics discussed in this section:
Topics discussed in this section:
Figure 11.2 Byte stuffing and unstuffing
Note
Note
Figure 11.4 Bit stuffing and unstuffing
Note
Aka: Donโt overwhelm the receiver!
Note
Figure 11.5 Taxonomy of protocols discussed in this chapter
Let us first assume we have an ideal channel in which
Let us first assume we have an ideal channel in which
no frames are lost, duplicated, or corrupted. We
no frames are lost, duplicated, or corrupted. We
introduce two protocols for this type of channel.
introduce two protocols for this type of channel.
Simplest Protocol
Stop-and-Wait Protocol
Topics discussed in this section:
Topics discussed in this section:
Algorithm 11.1 Sender-site algorithm for the simplest protocol
Algorithm 11.2 Receiver-site algorithm for the simplest protocol
Figure 11.8 Design of Stop-and-Wait Protocol
Algorithm 11.3 Sender-site algorithm for Stop-and-Wait Protocol