Introduction To TCP
Introduction To TCP
by Suprith K
What is flow control?
1 Regulating Data Flow
Flow control in TCP manages the amount of data sent from one side to another to prevent
overflow or congestion and ensures efficient transmission.
2 Real-time Adjustment
It involves adjusting the transmission rate based on feedback, network conditions, and the
receiving side's ability to process data.
3 Enhancing Reliability
By controlling the data flow, flow control helps in maintaining data integrity and avoiding
overwhelming the recipient.
Importance of flow control in TCP
Optimizing Bandwidth
Flow control ensures that the available network bandwidth is used efficiently, minimizing
wastage.
Preventing Bottlenecks
It plays a crucial role in preventing congestion and bottlenecks in the network, ensuring
smooth and steady data transfer.
Buffer Management
Effective flow control helps manage buffers and memory resources, leading to better
utilization and performance.
TCP flow control mechanisms
Window Size ACK-based Control Sliding Window
Adjustment Protocol
The acknowledgment (ACK)
TCP uses window size mechanism enables It involves a dynamic
adjustments to regulate the controlling the flow of data adjustment of the window
flow of data, ensuring that it by confirming the successful size to allow for a more
matches the receiver's receipt of transmitted efficient and continuous
capacity and network packets. flow of data, enhancing
conditions. throughput.
Sliding window protocol
Window Boundary Movement
The sliding window protocol dynamically adjusts the boundaries of the window,
optimizing data transmission based on the network conditions.
1 2
Congestion Control Flow Control
Focused on managing traffic and network Primarily concerned with managing data
congestion to prevent packet loss and ensure transmission rates to maintain a steady and
fair usage of network resources. optimized flow of data.
Flow control algorithms in TCP
1. Slow-Start Gradually increases the congestion window
to gauge network capacity.