GCSE · Computer Science · Eduqas · Spec C500QS

TCP protocol

Your message never crosses a network in one neat piece. It gets chopped up, scattered and sometimes lost, and it still arrives complete and in the right order. How?

Computer Science · Networks

Follow one message across the network

Step through a transfer from splitting to reassembly. One packet goes missing on the way. Watch what fixes it.

Before you press Next at step 7, predict: what will tell the sender that something has gone wrong?

Message: MEET ME AT NOON

Sending device→Network→Receiving device
message=MEET ME AT NOONpackets so far=none

Output

 

Step 1: Start: one message on the sending device. It feels like one thing. The network won't treat it that way.

1 / 11

Step through it, or press Play. Watch the numbers, the acknowledgements and the time limit.

Step 1 of 11: Start: one message on the sending device. It feels like one thing. The network won't treat it that way..

Watch out: Look at what the sender actually has at step 7: no acknowledgement for packet 2. That silence is all it needs to resend.

Predict, then check

Five packets were sent. You get to see only what landed.

Packets 4, 2, 5 and 1 arrive, in that order. What can the receiver work out from the numbers alone?

Computer Science · Networks

Three fates for one packet

A packet has been sent. Choose what happens to it and follow the path.

What happens to a packet

3 possible fates of one packet.

On A packet is sent. 3 branches to choose from.

Pick a fate. Watch where it ends up.

Computer Science · Networks

Which action protects which part of the aim?

TCP aims to make data arrive complete, in the correct order and without errors. For each action, tick every part of the aim it helps with, then check.

Numbering the packets
Reordering by packet number
Acknowledging receipt
The error check
Retransmitting

Computer Science · Networks

What do you think is going on?

Someone sends a message from one device to another across a network using TCP.

Which of these is closest to what you think right now?
How sure are you?

Computer Science · Networks

Write it in your own words

Describe how TCP makes sure data sent across a network arrives reliably. [6 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Number the packets, acknowledge what arrives, resend what goes quiet.

What you need to know

  • A network protocol is a set of rules that devices follow so they can send and receive data across a network.
  • Have a goFootball has rules so every player knows how to play together. Who are the 'players' in a network protocol?

    The devices on the network.

    A protocol is a set of rules that devices follow so they can send and receive data, so the rules are for the devices, not a device themselves.

  • TCP (Transmission Control Protocol) aims to make data arrive reliably: complete, in the correct order and without errors.
  • At the sending device, TCP splits the data into smaller pieces called packets.
  • TCP numbers each packet in sequence, so the order of the packets is known.
  • Packets do not always arrive in the order they were sent.
  • Have a goMax says: 'If I send packets 1, 2, 3 they'll land as 1, 2, 3, every time.' Is Max right? What does numbering give TCP that Max doesn't think he needs?

    Max is wrong. The numbers record the sending order, whatever order they land in.

    Packets do not always arrive in the order they were sent, so the order is only known because each packet was numbered.

  • At the receiving device, TCP uses the numbers on the packets to put the packets back in order and reassemble the original data.
  • The numbers also let the receiving device detect a gap where a packet is missing.
  • The receiving device sends an acknowledgement back to the sender for the data it has received.
  • Have a goPackets 1 to 5 are sent and the receiver acknowledges 1, 2, 3 and 5. Which packet has no acknowledgement?

    Packet 4.

    An acknowledgement is sent for data the receiver has received, so any packet with no acknowledgement is the one the sender has no confirmation for.

  • No acknowledgement within the time limit? The sender sends that data again, which is called retransmitting it.
  • A damaged packet fails the receiver's error check and is discarded instead of acknowledged, so it gets resent too.

The big picture

TCP is a protocol: a set of rules that make data arrive complete, in the correct order and without errors. It splits data into numbered packets, uses the numbers to reorder them and spot gaps, and the receiver acknowledges what it gets. Anything not acknowledged within the time limit is sent again.

Key points

1A network protocol is a set of rules; TCP's aim is data that arrives complete, in the correct order and without errors.
2TCP splits data into numbered packets. The numbers let the receiver reorder them and detect a gap.
3The receiver acknowledges the data it gets. No acknowledgement within the time limit means the sender retransmits.
4Lost packets and damaged packets (which fail the error check and are discarded) are fixed in the same way: they are sent again.

Worked example

Problem

A message is split into six numbered packets and sent. Packet 3 arrives damaged and packet 5 is lost on the way. Packets 2, 1, 6 and 4 arrive intact, in that order. What does the receiving device do with what it has, and what happens next?

⚠ Watch out

Mixing up the jobs. The numbers on the packets handle order and gaps. Acknowledgements tell the sender what arrived. Retransmission is triggered by a missing acknowledgement within the time limit, not by the numbers.

🧠

Memory hook

Number it. Acknowledge it. Heard nothing in time? Send it again.

✓

Check yourself

A sender transmits a packet and the time limit passes with no acknowledgement. What does the sender do next? Name two things that could have happened to it.

Flashcards

(11)
What is a network protocol?
A set of rules that devices follow so that they can send and receive data across a network.
What does TCP stand for, and what is its aim?
Transmission Control Protocol. Its aim is to make data arrive reliably: complete, in the correct order and without errors.
What does TCP do to the data at the sending device?
It splits the data into smaller pieces called packets.
What is a packet?
A smaller piece of the data that TCP has split off to send across the network.
Why does TCP number every packet in sequence?
So the order of the packets is known.
Do packets always arrive in the order they were sent?
No. They do not always arrive in the same order they were sent.
How does the receiving device rebuild the original data?
It sorts the arrived pieces by their numbers, which puts them back in the correct order.
How can the receiving device tell something is missing?
The numbers have a gap: for example 1, 2, 4 with no 3.
What is an acknowledgement?
A reply from the receiving device saying that data has arrived.
When does the sender retransmit data?
When it gets no acknowledgement for that data within a time limit.
What happens to a damaged packet?
The receiver's error check detects it and it is discarded instead of acknowledged, so the sender retransmits it.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.