0% found this document useful (0 votes)
216 views19 pages

TCP Flow Control and Error Control

In TCP, the **window size** controls how much data can be sent before waiting for an acknowledgment. The **sliding window** mechanism allows efficient data transmission by dynamically adjusting the window size based on network conditions. **Flow control** uses the receiver’s advertised window to prevent overwhelming it with too much data. **Congestion control** further adjusts the window to avoid network congestion. This ensures balanced, reliable data flow in TCP.

Uploaded by

SS Creations
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
216 views19 pages

TCP Flow Control and Error Control

In TCP, the **window size** controls how much data can be sent before waiting for an acknowledgment. The **sliding window** mechanism allows efficient data transmission by dynamically adjusting the window size based on network conditions. **Flow control** uses the receiver’s advertised window to prevent overwhelming it with too much data. **Congestion control** further adjusts the window to avoid network congestion. This ensures balanced, reliable data flow in TCP.

Uploaded by

SS Creations
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

TCP FLOW CONTROL

AND ERROR CONTROL


N. Ishwarya
22501A1281
It-2
CONTENTS

• Introduction to Tcp
• Definition of flow control,error control
• Working of flow control,error control
• Advantage of flow control, error control
• Mechanism of flow control,error control
• Flow control vs Error control
INTRODUCTION TO TCP
• What is TCP:
▪ TCP stands for Transmission Control Protocol.
▪ It provides full transport layer services to
applications.
• Importance of TCP in networking
• Main functions of TCP: Flow Control, and Error
Control
• Tcp services:stream delivery service,reliable service
TCP FLOW CONTROL
➢Flow Control:Flow control is a technique used to regulate
data transfer between computers or other nodes in a
network.

➢TCP is responsible for ensuring reliable data transmission


between devices over a network.

➢Purpose: To provide a means for the receiver to govern


the amount of data sent by the sender
HOW TCP FLOW CONTROL WORKS

Flow control ensures that the


transmitting device does not
send more data to the
receiving device than it can
handle.
ADVANTAGES AND DISADVANTAGES

➢ Its ability to maintain optimal network


efficiency by preventing congestion
and packet loss.
➢ Flow control may cause delays in data
transmission as it regulates the rate of
data flow.
FLOW CONTROL
STOP AND WAIT PROTOCOL
➢ Stop-and-wait protocol is a flow
control protocol that uses the data
link layer (DDL) of the OSI model to
send data through channels without
background noise
SLIDING WINDOW

The sliding window (windowing)


technique is used by Transmission
Control Protocol (TCP) to manage the
flow of packets between two computers
or network hosts.
TCP ERROR CONTROL
• Definition of Error Control

• Purpose: Ensures data integrity and reliability

• Mechanisms: Retransmission, Checksums, and Timeouts

• Error Detection: Role of checksums

• Error Correction: Use of ACKs and retransmissions


HOW TCP ERROR CONTROL WORKS

Error control in TCP detects errors,


resends incorrect data, and ensures
everything arrives in the right order.
ADVANTAGE AND DISADVANTAGES

➢ Error control helps systems and


applications cope with errors that can
occur due to equipment malfunction
or noise
➢ Checking and fixing errors can add
extra time to the process
MECHANISMS OF ERROR CONTROL
❑ CheckSum: A checksum is a value that represents the number of bits
in a transmission message and is used by IT professionals to detect
high-level errors within data transmissions
❑ Acknowledgment: Error control in TCP involves the use of
acknowledgments to confirm the successful receipt of data.
❑ Retransmission: When errors are detected, TCP employs a
retransmission strategy to resend the affected segments, ensuring
reliable data delivery.
❑ Timeout:A Timeout Mechanism is a feature that detects if a message
is delivered within a specified deadline.
CHECK SUM
❑ TCP uses a checksum to detect errors in the transmitted data. This
ensures that the data received at the destination is accurate and free
from corruption.
CHECK SUM EXAMPLE
FLOW CONTROL VS. ERROR CONTROL

• Differences between Flow Control and Error


Control
• Importance in ensuring reliable data transmission
CONCLUSION

In conclusion, Flow control mainly


refers to TCP's ability to prevent a
sender from delivering a receiver too
many packets at once.
REFERENCES
https://www.geeksforgeeks.org/error-control-in-data-
link-layer/

https://en.wikipedia.org/wiki/Transmission_Control_Prot
ocol

Data Communications and Networking, Behrouz A.


Forouzan, Fifth Edition, McGrawHill
Thank You

You might also like