Data Link Control Services
SWE215: Data Communications and
Networking
Group Presentation
Date: 20/05/2025
Objectives
• - Understand the purpose of data link control
• - Explain line discipline methods
• - Describe Stop-and-Wait and Sliding Window
flow control
• - Compare their efficiency and reliability
• - Confidently answer related questions
Introduction to Data Link Control
• Data Link Control (DLC) provides procedures
for reliable and efficient communication
between two directly connected devices. It
ensures line discipline, flow control, and error
control at the Data Link Layer.
What is Line Discipline?
• Line discipline determines who can send and
when.
• Methods:
• - ENQ/ACK: Sender requests to send, receiver
acknowledges.
• - Polling/Selection: Master controls which
device communicates.
What is Flow Control?
• Flow control manages data transmission
speed to prevent a fast sender from
overwhelming a slow receiver. It ensures data
is sent at a rate that can be handled by the
receiver.
Stop-and-Wait Protocol
• - Sends one frame at a time, waits for ACK
before next.
• - Simple but inefficient.
• Pros:
• - Easy to implement
• Cons:
• - High idle time, low utilization
Sliding Window Protocol
• - Allows sending multiple frames before
receiving ACK.
• - Uses sequence numbers and adjustable
window size.
• Pros:
• - High efficiency
• Cons:
• - More complex to implement
Comparison: Stop-and-Wait vs
Sliding Window
• Feature | Stop-and-Wait | Sliding Window
• --------|----------------|-----------------
• Efficiency | Low | High
• Complexity | Low | Moderate to High
• Use Case | Simple links | High-speed links
• Frames per ACK | One | Multiple
Real-World Applications
• - Stop-and-Wait: Used in simple embedded
systems.
• - Sliding Window: Used in TCP for internet
data transmission.
• - Both ensure data integrity and transmission
control.
Conclusion
• - DLC ensures reliable communication
• - Line discipline avoids conflicts
• - Flow control prevents buffer overflow
• - Sliding Window is more efficient than Stop-
and-Wait
Questions & Answers
• Feel free to ask any questions about:
• - Line Discipline
• - Flow Control Methods
• - Protocol Comparisons
• (All group members are ready to respond.)