Communication
Networks
Flow Control
in Datalink Layer
Visit www.youtube.com/GURUKULAfor Lecture Videos
Overview of Module -2
•Framing
•What is Framing
•Types of Framing
•Methods for identifying the
boundaries
•Flow Control
•What is flow control
•Types of flow control
•Access Control
•What is access control
•Types of access control
•Ethernet –IEEE 802.3
•Evolution of Ethernet
•Frame Format of Ethernet
•Access Control for Ethernet
•Performance Evaluation of Ethernet
•WLAN –IEEE 802.11
•Architecture
•Bluetooth
•WIFI
•Zigbee
•6LowPan
•Network Layer Services
•IPv4
•Packet switching
•Network Layer Protocols
Visit www.youtube.com/GURUKULAfor Lecture VideosVisit www.youtube.com/GURUKULAfor Lecture Videos
Flow Control -Understanding
HOME
OFFICE
SOURCE
DESTINATION
Need for Flow Control
What if the Left Image is Transmitter and the Right Image is Receiver?
Or
Vice Versa
This scenario necessitates the need for Flow Control Mechanism to
regulate the flow of data packets in the network. If not , it leads to
congestion
Types of Flow Control Mechanism
•Traditionally four protocols have been defined for the data-
link layer to deal with flow and error control
•Simple Protocol
•Stop and wait Protocol
•Go Back N Protocol
•Selective Repeat Protocol
@ Sliding Window
Protocols
Visit www.youtube.com/GURUKULAfor Lecture Videos
2. Stop and Wait Protocol
•Inthisprotocol,thesender
sendsoneframeatatimeand
waitsforanacknowledgment
beforesendingthenextone.
•Iftheframeisreceived
successfullybythereceiver,an
ACKissenttotheTransmitter.
•Ifframeislost,thentherewill
notbeanyACKfromthe
receiver,sothattheframewill
beretransmitted.
•Iftheframeisreceivedand
ACKsentbythereceiverislost.
Eventhen,theframeis
retransmittedassumingthatthe
frameislost.
Successful transmission of Frame
What if, Frame is Lost or Damaged ?
What if, ACK is Lost or Damaged ?
Session Summary
•Flow Control [Similar to traffic control signal]
•Simple Protocol
•Stop and wait protocol
Visit www.youtube.com/GURUKULAfor Lecture Videos