14.1 Protocols


2026 Syllabus Objectives

By the end of this topic, you should be able to:

  • Explain why a protocol is essential for communication between computers.
  • Explain how protocol implementation can be viewed as a stack, where each layer has its own functionality.
  • Describe the TCP/IP protocol suite, including its four layers (Application, Transport, Internet, Link), the purpose and function of each layer, and how they work together when a message is sent from one host to another on the internet.
  • Show understanding of the following protocols and their purposes: HTTP, FTP, POP3, IMAP, SMTP, and BitTorrent.

1. What Is a Protocol?

A protocol is a set of rules that both the sender and receiver of data must agree on before communication can happen. Think of it like a shared language: if two people each speak a different language and have no common one, they cannot understand each other. Computers face exactly the same problem — without agreed rules, they cannot exchange data successfully.

These rules cover things like how data is formatted, how fast it can be sent, how errors are checked, and how the two devices start and end a conversation. Because both ends of a communication must follow the same rules, protocols must be agreed upon by both the sender and the recipient.

Why are protocols essential? The internet connects billions of devices made by thousands of different manufacturers, running all kinds of software. Without protocols, a phone made by one company could not send an email to a laptop made by a completely different company. Protocols provide a universal standard that makes communication between different platforms and different hardware possible. For example, Gmail and Outlook are completely different email services, but a user on Gmail can still send an email to a user on Outlook because both services follow the same email protocols.

Many different protocols exist because there are many different activities that happen over the internet — browsing websites, sending emails, sharing files, and more. Each activity has its own specific requirements, so there are specific protocols designed for each purpose.


2. The Protocol Stack

Because networking is complex, it is helpful to break it down into separate layers, each responsible for one part of the communication process. This layered approach is called a protocol stack — imagine a stack of boxes, each one sitting on top of the previous one. Each layer (box) has a specific job and only communicates with the layers directly above and below it.

This approach has a key advantage: each layer can be developed, updated, or replaced independently without affecting the others. It is easier to manage, troubleshoot, and improve the system when each part is kept separate. This idea is sometimes called decomposition — breaking a large, complicated problem into smaller, manageable parts.

The layers are implemented as software programs (code). When data is being sent, it passes down through the layers one at a time, from the top layer to the bottom. When data is being received, it passes upward through the layers, from the bottom to the top. At each layer, something specific is done to the data.

Sign in to view full notes