diff between Congestion Control and flow control in tcp protocol
Jump to turn (11)
- 1diff between Congestion Control and flow control in tcp protocol
- 2Error Control in tcp
- 3Stream-oriented data transfer in tcp
- 4what is the size of the header in tcp packet
- 5URG flah in tcp
- 6Push flag
- 7RST
- 8Window Size
- 9what is the scale factor
- 10what if the WS < WR
- 11what if the window sender < window receiver
- User
diff between Congestion Control and flow control in tcp protocol
- Assistant
Congestion control and flow control are two separate mechanisms used in the Transmission Control Protocol (TCP) to ensure reliable data transfer over a network.
Flow control is used to prevent a fast sender from overwhelming a slow receiver. It regulates the amount of data that a sender can transmit before receiving an acknowledgement from the receiver. This ensures that the receiver can process the data at its own pace and prevents buffer overflow.
Congestion control is used to prevent network congestion and manage the amount of data being transmitted on a network. It regulates the amount of data that can be transmitted by a sender to prevent network overload. This is done by monitoring network conditions, such as packet loss, and adjusting the transmission rate accordingly.
In short, flow control manages the flow of data between two devices on a single connection, while congestion control manages the flow of data across the entire network.