Protocol:
Protocol is an agreed upon format for transmitted data between two devices.
Ø The type of error checking to be used
Ø Data compression method if any
Ø How the sending devices will indicate that has finished sending a message
Ø How the receiving devices will indicate that it has receiving a message
A protocol is a set of rules protocol allows two computers to communicate over media such as wireless or hardwired technology.When computers communicate with each other there needs to be a common set of rules and instruction that each computer follow protocol are the language of computer.
Key Functions of a Protocol
Protocols play a vital role in data communication. They determine:
- Error Checking: How to identify and handle errors during data transmission.
- Data Compression: Whether and how data should be compressed to save space and improve speed.
- Message Completion Signals:
- How the sender indicates that the message has been fully sent.
- How the receiver confirms that the message has been fully received.
When computers communicate, they need to follow a common set of rules to avoid confusion. These rules—called protocols—serve as a universal language, ensuring both devices understand each other.Imagine two people speaking different languages trying to have a conversation. Without a translator or a shared language, communication would break down. Similarly, without protocols, computers wouldn’t be able to exchange data effectively.

