SlideShare a Scribd company logo
1 of 28
Flow Control
Flow control is one of the important function of
DLL
e.g. A smart phone requests a Web page from a far more
powerful server, which then turns on the fire hose and blasts the
data at the poor helpless phone until it is completely swamped
To overcome above problem DLL uses feedback-based
flow control, the receiver sends back information to the sender
giving it permission to send more data, or at least telling the
sender how the receiver is doing.
The protocol based on feedback-based flow control
contains well-defined rules about when a sender may transmit
the next frame. These rules often prohibit frames from being
sent until the receiver has granted permission, either implicitly
or explicitly.
Stop-and-Wait Protocol for an Error-Free Channel
Preventing the sender from flooding the receiver with
frames faster than the latter is able to process them
• Solution :-> have the receiver provide feedback to
the sender.
Protocols in which the
sender sends one frame
and then waits for an
acknowledgement
before proceeding are
called stop-and-wait
Error Free Channel – No Frame loss
• Transmitter (Station A) sends a frame over the
communication line and then waits for a positive or
negative acknowledgement from the receiver (station
B).
• If no error occurs in the transmission, station B sends a
positive acknowledgement (ACK) to station A.
• Now, the transmitter starts to send the next frame. If
frame is received at station B with errors, then a
negative acknowledgement(NAK) is sent to station A.
In this case, station 'A' must retransmit the old frame.
• There is also a possibility that the information frames
or ACKs may get lost.
• Then, the sender is equipped with a timer. If no
recognizable acknowledgement is received when the
timer expires at the end of time out interval, the same
frame is sent again. ( Problem of duplication of Frames
)
sender
Receiver
Frame
ACK
Frame
ACK
Time Time
Noisy Channel
Stop-and-wait ARQ protocol
Working
1) Sender A sends a data frame or packet with
sequence number 0.
2) Receiver B, after receiving data frame, sends
and acknowledgement with sequence number 1
(sequence number of next expected data frame
or packet)
There is only one bit sequence number that
implies that both sender and receiver have
buffer for one frame or packet only.
Go Back n ARQ
It is Sliding window protocol wherein multiple
frames can be sent at a time.
In Go-Back-N ARQ, N is the sender's window
size.
If n=3, Go-Back-3, it means three frames can be
sent at a time before expecting the
acknowledgment from the receiver.
It uses the principle of protocol pipelining in
which the multiple frames can be sent before
receiving the acknowledgment of the first
frame.
In Go-Back-N ARQ, the frames are numbered
sequentially
The number of frames that can be sent at a time
totally depends on the size of the sender's
window.
If the acknowledgment of a frame is not
received within an agreed-upon time period,
then all the frames available in the current
window will be retransmitted.
Example : Assume that there are 11 frames to be
sent 0,1,2,3,4,5,6,7,8,9,10
Suppose window size i.e. n=4 (four frames can
be sent at a time before expecting the
acknowledgment of the first frame.)
When ack for frame 0 will be received , window will be shifted
by 1 frame position towards left to cover 1-4 frames
Now if ack for frame 1 is received then window will slide left to
cover 2-5 frames as shown below
Now suppose due to some reason ack for frame 2 does not received by sender and it
times out. Now sender will send all frames available in window i.e. 2-5 frames.
Receiver will discard previously received same
frames and accepts latest received frames
Selective Repeat ARQ
The Go-back-N ARQ protocol works well if it has
fewer errors. But if there are lot of errors in the
frames, lots of bandwidth loss in sending the
frames again.
If the receiver receives a corrupt frame, it does
not directly discard it. It sends a negative
acknowledgment to the sender. The sender
sends that frame again as soon as on the
receiving negative acknowledgment. There is no
waiting for any time-out to send that frame.
In SR protocol, sender window size is always same
as receiver window size.
Selective retransmission of frames is much more
efficient than retransmitting all the frames
SR protocol accepts the out of order frames.
SR protocol requires sorting at the receiver’s side.
If received frames are out of order, receiver
performs the sorting.
SR protocol leads to retransmission of lost frames
after expiry of time out timer.
Go-Back-N ARQ Selective Repeat ARQ
If a frame is corrupted or lost in
it,all subsequent frames have to
be sent again.
In this, only the frame is sent
again, which is corrupted or lost.
If it has a high error rate,it
wastes a lot of bandwidth.
There is a loss of low bandwidth.
It is less complex. It is more complex because it has
to do sorting and searching as
well. And it also requires more
storage.
It does not require sorting. In this, sorting is done to get the
frames in the correct order.
It does not require searching. The search operation is performed
in it.
It is used more. It is used less because it is more
complex.
Point to point protocol
Services provided by PPP
PPP defines the format of the frame to be
exchanged between the devices
It defines link control protocol (LCP) for:-
(a) Establishing the link between two devices.
(b) Maintaining this established link.
(c) Configuring this link.
(d) Terminating this link after the transfer.
It defines how network layer data are
encapsulated in data link frame.
PPP provides error detection.
Point to Point Protocol
• PPP uses several other protocols to establish link,
authenticate users and to carry the network layer data.
The various protocols used are:
1. Link Control Protocol
2. Authentication Protocol
3. Network Control Protocol
It is a byte oriented protocol (i.e. it simply views frame as
collection of bytes)
It is a WAN protocol widely used for broadband
communication having heavy loads and high speeds.
Transition Phases in PPP

More Related Content

Similar to Unit IV_Flow.pptx

PCCN DATA LINK LAYER UNIT 4 NOTES
PCCN DATA LINK LAYER UNIT 4 NOTESPCCN DATA LINK LAYER UNIT 4 NOTES
PCCN DATA LINK LAYER UNIT 4 NOTESsirishayerraboina
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks Nt Arvind
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link controlVishal kakade
 
Data linkcontrol
Data linkcontrolData linkcontrol
Data linkcontrolBablu Shofi
 
DataLinkControl.ppt
DataLinkControl.pptDataLinkControl.ppt
DataLinkControl.pptMaddalaSeshu
 
Data link layer
Data link layerData link layer
Data link layersbkbca
 
Datalink control(framing,protocols)
Datalink control(framing,protocols)Datalink control(framing,protocols)
Datalink control(framing,protocols)Hira Awan
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link ControlJeoffnaRuth
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
 
datalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxdatalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxlathass5
 

Similar to Unit IV_Flow.pptx (20)

PCCN DATA LINK LAYER UNIT 4 NOTES
PCCN DATA LINK LAYER UNIT 4 NOTESPCCN DATA LINK LAYER UNIT 4 NOTES
PCCN DATA LINK LAYER UNIT 4 NOTES
 
Different protocols for data communication networks
Different protocols for data communication networks Different protocols for data communication networks
Different protocols for data communication networks
 
Micro project on ARQ
Micro project on ARQMicro project on ARQ
Micro project on ARQ
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
Error control
Error controlError control
Error control
 
Presentation on dll
Presentation on dllPresentation on dll
Presentation on dll
 
Data linkcontrol
Data linkcontrolData linkcontrol
Data linkcontrol
 
stop and wait
stop and waitstop and wait
stop and wait
 
DataLinkControl.ppt
DataLinkControl.pptDataLinkControl.ppt
DataLinkControl.ppt
 
Data link layer
Data link layerData link layer
Data link layer
 
Datalink control(framing,protocols)
Datalink control(framing,protocols)Datalink control(framing,protocols)
Datalink control(framing,protocols)
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link Control
 
Lecture 20
Lecture 20Lecture 20
Lecture 20
 
07 data linkcontrol
07 data linkcontrol07 data linkcontrol
07 data linkcontrol
 
Flowctrl
FlowctrlFlowctrl
Flowctrl
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
07 data linkcontrol
07 data linkcontrol07 data linkcontrol
07 data linkcontrol
 
Flow Control
Flow ControlFlow Control
Flow Control
 
datalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptxdatalinklayermukesh-150130061041-conversion-gate01.pptx
datalinklayermukesh-150130061041-conversion-gate01.pptx
 
Flow control main
Flow control mainFlow control main
Flow control main
 

Recently uploaded

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 

Recently uploaded (20)

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 

Unit IV_Flow.pptx

  • 2. Flow control is one of the important function of DLL e.g. A smart phone requests a Web page from a far more powerful server, which then turns on the fire hose and blasts the data at the poor helpless phone until it is completely swamped To overcome above problem DLL uses feedback-based flow control, the receiver sends back information to the sender giving it permission to send more data, or at least telling the sender how the receiver is doing. The protocol based on feedback-based flow control contains well-defined rules about when a sender may transmit the next frame. These rules often prohibit frames from being sent until the receiver has granted permission, either implicitly or explicitly.
  • 3.
  • 4.
  • 5.
  • 6. Stop-and-Wait Protocol for an Error-Free Channel Preventing the sender from flooding the receiver with frames faster than the latter is able to process them • Solution :-> have the receiver provide feedback to the sender. Protocols in which the sender sends one frame and then waits for an acknowledgement before proceeding are called stop-and-wait Error Free Channel – No Frame loss
  • 7. • Transmitter (Station A) sends a frame over the communication line and then waits for a positive or negative acknowledgement from the receiver (station B). • If no error occurs in the transmission, station B sends a positive acknowledgement (ACK) to station A. • Now, the transmitter starts to send the next frame. If frame is received at station B with errors, then a negative acknowledgement(NAK) is sent to station A. In this case, station 'A' must retransmit the old frame. • There is also a possibility that the information frames or ACKs may get lost. • Then, the sender is equipped with a timer. If no recognizable acknowledgement is received when the timer expires at the end of time out interval, the same frame is sent again. ( Problem of duplication of Frames )
  • 8.
  • 9.
  • 12.
  • 14. Working 1) Sender A sends a data frame or packet with sequence number 0. 2) Receiver B, after receiving data frame, sends and acknowledgement with sequence number 1 (sequence number of next expected data frame or packet) There is only one bit sequence number that implies that both sender and receiver have buffer for one frame or packet only.
  • 15. Go Back n ARQ It is Sliding window protocol wherein multiple frames can be sent at a time. In Go-Back-N ARQ, N is the sender's window size. If n=3, Go-Back-3, it means three frames can be sent at a time before expecting the acknowledgment from the receiver. It uses the principle of protocol pipelining in which the multiple frames can be sent before receiving the acknowledgment of the first frame.
  • 16. In Go-Back-N ARQ, the frames are numbered sequentially The number of frames that can be sent at a time totally depends on the size of the sender's window. If the acknowledgment of a frame is not received within an agreed-upon time period, then all the frames available in the current window will be retransmitted.
  • 17. Example : Assume that there are 11 frames to be sent 0,1,2,3,4,5,6,7,8,9,10 Suppose window size i.e. n=4 (four frames can be sent at a time before expecting the acknowledgment of the first frame.)
  • 18. When ack for frame 0 will be received , window will be shifted by 1 frame position towards left to cover 1-4 frames
  • 19. Now if ack for frame 1 is received then window will slide left to cover 2-5 frames as shown below Now suppose due to some reason ack for frame 2 does not received by sender and it times out. Now sender will send all frames available in window i.e. 2-5 frames.
  • 20. Receiver will discard previously received same frames and accepts latest received frames
  • 21. Selective Repeat ARQ The Go-back-N ARQ protocol works well if it has fewer errors. But if there are lot of errors in the frames, lots of bandwidth loss in sending the frames again. If the receiver receives a corrupt frame, it does not directly discard it. It sends a negative acknowledgment to the sender. The sender sends that frame again as soon as on the receiving negative acknowledgment. There is no waiting for any time-out to send that frame.
  • 22.
  • 23. In SR protocol, sender window size is always same as receiver window size. Selective retransmission of frames is much more efficient than retransmitting all the frames SR protocol accepts the out of order frames. SR protocol requires sorting at the receiver’s side. If received frames are out of order, receiver performs the sorting. SR protocol leads to retransmission of lost frames after expiry of time out timer.
  • 24. Go-Back-N ARQ Selective Repeat ARQ If a frame is corrupted or lost in it,all subsequent frames have to be sent again. In this, only the frame is sent again, which is corrupted or lost. If it has a high error rate,it wastes a lot of bandwidth. There is a loss of low bandwidth. It is less complex. It is more complex because it has to do sorting and searching as well. And it also requires more storage. It does not require sorting. In this, sorting is done to get the frames in the correct order. It does not require searching. The search operation is performed in it. It is used more. It is used less because it is more complex.
  • 25. Point to point protocol Services provided by PPP PPP defines the format of the frame to be exchanged between the devices It defines link control protocol (LCP) for:- (a) Establishing the link between two devices. (b) Maintaining this established link. (c) Configuring this link. (d) Terminating this link after the transfer. It defines how network layer data are encapsulated in data link frame. PPP provides error detection.
  • 26. Point to Point Protocol • PPP uses several other protocols to establish link, authenticate users and to carry the network layer data. The various protocols used are: 1. Link Control Protocol 2. Authentication Protocol 3. Network Control Protocol It is a byte oriented protocol (i.e. it simply views frame as collection of bytes) It is a WAN protocol widely used for broadband communication having heavy loads and high speeds.
  • 27.