LambdaLabTM
Computer Networks · Class 12 · Network Protocols
networksprotocols⏱️ 7 min read

What is a Protocol?

🎬 Watch the 10:53 video of this chapter ↓

On a road, everyone drives on the left and stops at a red light. Nobody argues about it each time. Those shared rules are what let thousands of strangers use one road safely. Computers on a network need the same thing.

1What a protocol is

Protocol
A protocol is a set of rules that the communicating parties — the sender, the receiver and all the devices in between — need to follow, so that data communication over a network is successful and reliable.

You met the protocol already as one of the five components of data communication. There, a message sent without a shared protocol arrived as nonsense. A protocol decides things like:

  • how devices on the network identify one another (by address);
  • what form the data is put into for the journey;
  • whether data that arrives is for this device or should be passed on;
  • how to check that all the data arrived, with nothing lost;
  • how to put the pieces back in order at the other end.

2Why networks need protocols

The sender and receiver may be on different networks, in different places, working at different speeds. Your NCERT book gives three reasons protocols are needed: flow control, access control and addressing.

Flow control: a fast sender, a slow receiver

Computer A sends data at 1024 Mbps. Computer B can take it in at only 512 Mbps. Without a rule, B cannot keep up and data is lost. With flow control, B can tell A to slow down.

A fast sender, a slow receiver

Send with no rule, then turn flow control on and send again. Drag sideways to turn.

Press ▶ Send to start.
16
packets sent
10
arrived
6
lost

A teaching model: two packets a moment from A, one a moment into B, room for three to wait. Real flow control is the same idea with far bigger numbers.

Access control: two computers, one cable

When several computers share one link, they must not all send at the same instant. If they do, the signals collide and the data is damaged. Access control decides who may use the link, and when.

Two computers, one cable

Send with no rule, then with the turn-taking rule. Drag sideways to turn.

Press ▶ Send to start.

Addressing

Every device needs an address, so that data reaches the right one. You have seen this rule at work already: the IP address, set by the Internet Protocol.

Think of a phone call

You say “hello” first. You take turns to speak. If the other person talks too fast, you say “slow down”. If you did not hear, you ask them to repeat. Nobody wrote those rules on the phone, but both of you follow them — that is a protocol.

3The nine protocols in your syllabus

Each protocol is a set of rules for one job. The rest of this chapter takes them one at a time.

ProtocolFull formIts job
📦 TCP/IPTransmission Control Protocol / Internet Protocolcuts data into packets, addresses and delivers them
↔️ PPPPoint to Point Protocola direct link between two devices
🌐 HTTPHyperText Transfer Protocolfetches web pages
🔒 HTTPSHyperText Transfer Protocol Securefetches web pages, encrypted
📁 FTPFile Transfer Protocoltransfers files
📤 SMTPSimple Mail Transfer Protocolsends email
📥 POP3Post Office Protocol version 3retrieves email from the mail server
📞 VoIPVoice over Internet Protocolvoice and video calls over the Internet
⌨️ TELNETTeletype Networklogs in to a remote computer

4From the board papers

1
Fill in the blank: ________ is a set of rules that needs to be followed by the communicating parties in order to have a successful and reliable data communication over a network.CBSE board exam 2024
1 mark
▶Show the answer

Protocol.

2
What is the need of protocols?CBSE board exam 2023 (part of a 2-mark question)
1 mark
▶Show the answer

Devices on a network may work at different speeds and share the same links. Protocols give them common rules for flow control (a fast sender must not flood a slow receiver), access control (who may use a shared link, so data does not collide) and addressing (data reaches the right device), so that communication is successful and reliable.

3
What is protocol in the context of computer networks?CBSE board exam 2026 (part of a 2-mark question)
1 mark
▶Show the answer

A protocol is a set of standard rules that the sender, the receiver and all intermediate devices follow to communicate over a network. Example: HTTP, the protocol for web pages.

5Check yourself

Quick Check

Who has to follow a network protocol?

Quick Check

A sender is faster than its receiver, and data is being lost. Which need of protocols does this show?

🎬 Watch the chapter

Network Protocols, in 10:53

One animated video of the whole chapter, narrated. Watch it before the lessons for the big picture, or after them to revise.