- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between Flow Control and Error Control?
Let us understand the concept of flow control.
Flow control is an important procedure to control issues like congestion, overloading, loss of data, etc. Flow control is a service implemented by the receiving device to limit the data rate being sent by the transmitting machine. The stop and wait protocols are the simplest methods to control the data flow. Flow control is a must, particularly if the communicating machines have multiple transmission and reception data costs.
A simple method of flow control is Stop and Wait for Flow Control. In this, the sender will share one frame at a time with the receiver. The sender will stop and wait for the acceptance from the receiver. This time (i.e. the time joining message transmitting and acknowledgment receiving) is the sender’s waiting time, and the sender is idle during this time.
While sending the information from the sender to the receiver, the data flow required to be controlled. If the sender is sharing the data at a cost higher than the receiver can receive and process it, the data will get hidden. The Flow-control technique will help in providing that the data doesn't get hidden.
In this method, it is a technique for controlling sending data packets between two network devices where dependable and sequential delivery of data packets is needed, such as using the Data Link Layer (OSI model) or Transmission Control Protocol (TCP).
In the sliding window approaches, each data packet (for most data link layers) and byte (in TCP) involves a specific consecutive sequence number utilized by the receiving computer to locate data in the appropriate order. The goal of the sliding window technique is to use the sequence numbers to prevent duplicate information and to request missing information.
This is the prominent service of the data link layer. It supports the protocols to recognize error frames and to support the communication of accurate frames. It includes sequencing frames and transmitting control frames for acknowledgment. A noisy channel can avoid scanning of bits, falling bits from a frame, introducing specific bits in the frame, frames final sinking, etc.
The error control is implemented in two steps as follows −
Retransmission of data
For error detection, there are various error detection code is shared by the sender with each PDU. The receiver knows that code and checks if the code in the received data is correct or not.
If any error is found, the receiver requests the sender to retransfer the data. On the other hand, if no error is detected, the receiver transmits an acknowledgment for correct receiving data to the sender.
- Difference between flow control and congestion control
- What is the difference between Sequence control and data control?
- What is the concept of flow and error control and their differences?
- Difference between Centralized Version Control and Distributed Version Control
- Difference between Hardwired Control Unit and Microprogrammed Control Unit
- What is the Flow Control in the Data Link Layer?
- What is the use of MySQL IFNULL() control flow function?
- What is the use of MySQL NULLIF() control flow function?
- What is the difference between a Control Plane and a Data Plane?
- What is the Error Control in the Data Link Layer?
- Static Control Flow in Java
- Control flow alterations in Ruby
- PHP Error Control Operator
- Control the flow and formatting of text with CSS
- What are issues in congestion and Flow control in LANs?