You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the key network protocols you need to know for OCR J277 Section 1.3.2. A protocol is a set of rules that govern how data is transmitted across a network. Without protocols, devices would not know how to communicate with each other.
A protocol is a set of agreed rules and standards that define how data is formatted, transmitted, received, and acknowledged across a network. Protocols ensure that different devices and software from different manufacturers can communicate consistently.
Think of protocols like the rules of a language — both parties must follow the same rules to understand each other.
TCP/IP is the fundamental protocol suite used on the internet. It consists of two main protocols working together:
| Protocol | Purpose |
|---|---|
| TCP (Transmission Control Protocol) | Breaks data into packets, ensures all packets arrive correctly, reassembles them in the right order |
| IP (Internet Protocol) | Addresses packets with source and destination IP addresses and routes them across networks |
TCP/IP is often described as the "backbone" of the internet — almost all internet communication uses it.
| Protocol | Purpose |
|---|---|
| HTTP | Transfers web page data (HTML, CSS, images) between a web server and a web browser |
| HTTPS | The secure version of HTTP — encrypts data using TLS/SSL so it cannot be intercepted and read by third parties |
Key difference: HTTPS encrypts data, protecting sensitive information such as login credentials and payment details. Modern websites should always use HTTPS.
You can tell if a website uses HTTPS by the padlock icon in the browser's address bar.
| Feature | Detail |
|---|---|
| Purpose | Transfers files between a client and a server over a network |
| Use cases | Uploading website files to a web server, downloading large files, sharing files remotely |
| How it works | A user connects to an FTP server using FTP client software, then uploads or downloads files |
| Security note | Standard FTP is unencrypted; SFTP (Secure FTP) or FTPS add encryption |
| Feature | Detail |
|---|---|
| Purpose | Used to send emails from a client to an email server, and between email servers |
| Direction | Outgoing mail — from sender to recipient's mail server |
| Port | Typically port 25 (or 587 for secure submission) |
| Feature | Detail |
|---|---|
| Purpose | Used to retrieve emails from a mail server to a client device |
| How it works | Emails remain on the server; the client downloads copies. Changes (read/delete) are synced across all devices |
| Advantage | Emails can be accessed from multiple devices and stay in sync |
| Alternative | POP3 downloads emails and typically removes them from the server — less suitable for multiple devices |
sequenceDiagram
participant S as Sender
participant SS as Sender's Email Server
participant RS as Recipient's Email Server
participant R as Recipient
S->>SS: SMTP
SS->>RS: SMTP
RS->>R: IMAP (reads email on their device)
OCR Exam Tip: You may be asked to explain the role of different protocols in a specific scenario (e.g. sending an email, browsing a website). Make sure you can match the correct protocol to the correct task.
| Protocol | Purpose | Key Detail |
|---|---|---|
| TCP | Ensures reliable data delivery; breaks data into packets | Works with IP |
| IP | Addresses and routes packets across networks | Uses IP addresses |
| HTTP | Transfers web pages | Unencrypted |
| HTTPS | Transfers web pages securely | Encrypted (TLS/SSL) |
| FTP | Transfers files | Upload/download files to/from servers |
| SMTP | Sends emails | Outgoing mail |
| IMAP | Retrieves emails | Keeps emails on server; syncs across devices |
sequenceDiagram
participant B as Browser (Client)
participant D as DNS Server
participant S as Web Server
B->>D: Request IP for example.com
D-->>B: Returns IP address
B->>S: HTTPS GET /index.html (TCP/IP)
S-->>B: HTTPS 200 OK + HTML, CSS, images
Note over B,S: TLS encrypts the conversation; TCP guarantees delivery; IP routes packets
Key Vocabulary: protocol, TCP, IP, HTTP, HTTPS, FTP, SMTP, IMAP, POP3, TLS, SSL, encryption, packet.
Scenario: A web developer is building a small e-commerce site. Over the course of one afternoon they: (a) upload the latest HTML and image files to the web server; (b) test the live shop by visiting its secure URL; (c) send a promotional email to customers; (d) read replies from customers on their phone and their laptop; (e) ensure the shop's login form does not leak passwords. For each task, name the protocol involved and justify the choice. Approximately 350 words.
Model walk-through:
(a) Uploading site files to the server — The developer uses FTP (File Transfer Protocol), or more precisely SFTP/FTPS for security. FTP is designed specifically for transferring files between a client and a server, supporting large binary files like images and videos. Unsecured FTP sends credentials in plain text, so most production sites use SFTP which adds encryption via SSH.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.