- What a protocol is and why it is essential
A protocol is an agreed set of rules so two devices can understand each other.
A protocol is an agreed set of rules that controls how data is transmitted between devices on a network. The rules typically cover:
- the format of the data (how it is structured),
- the order in which messages are sent (e.g. who 'speaks' first),
- how errors are detected and dealt with.
Why is a protocol essential? Two communicating devices may be made by different manufacturers and run different software. If they did not both follow the same rules, the receiver could not make sense of the bits the sender transmits. A shared protocol is the 'common language' that makes communication possible.
Think of two people on a phone call who must agree to speak the same language, take turns, and confirm they have understood — that agreement is the protocol.
- Protocol = agreed set of rules for communication.
- Rules cover data format, message order, error handling.
- Both devices must follow the SAME rules or they can't understand each other.