AQA · GCSE · Computer Science

    Course version: 8525 · Version from Sept 2020

    Fundamentals of computer networks: UDP (User Datagram Protocol)

    UDP is a transport-layer protocol used when speed and low overhead matter more than guaranteed delivery.

    • Point 21 of 50

    Study notes

    From the teaching notes for this specification point.

    The idea

    UDP is a transport-layer protocol used when speed and low overhead matter more than guaranteed delivery. It splits application data into datagrams and adds source and destination port numbers so the receiving device can pass each datagram to the correct application, but it does not first open a connection, does not number or acknowledge packets, and does not request retransmission of lost data. A sender therefore fires datagrams without confirmation that they arrived, and the receiver accepts them in whatever order they appear. This suits live video streaming, online gaming and voice calls, where a late packet is useless and a small gap is preferable to a stall. Contrast it with TCP, which establishes a connection and checks delivery.

    What earns the marks

    • UDP is a connectionless transport-layer protocol: it sends datagrams without first establishing a connection with the receiver.
    • UDP does not acknowledge received packets and does not request retransmission of lost or corrupted datagrams, so delivery is not guaranteed.
    • UDP adds port numbers so datagrams are delivered to the correct application on the destination device.
    • UDP has low overhead and low latency, making it suitable for live streaming, voice over IP and online gaming where speed matters more than perfect delivery.
    • UDP does not guarantee ordering of datagrams, so they may arrive out of sequence.

    Common mistakes and how to put them right

    • Thinking UDP guarantees delivery like TCP.

      Put it right by stating UDP sends datagrams without acknowledgement or retransmission, so packets can be lost.

    • Confusing UDP with a connection-oriented protocol.

      Put it right by stressing UDP is connectionless and does not perform a handshake before sending.

    • Assuming UDP is always the wrong choice.

      Put it right by explaining UDP is appropriate for real-time traffic such as live video and gaming where low latency outweighs occasional loss.

    Exam tips

    • Learn a short contrast list: TCP is connection-oriented and reliable; UDP is connectionless and unreliable but fast.
    • Link each UDP feature to a named use case such as live streaming or online gaming to justify the choice.
    • Read every option carefully; distractors often describe TCP features such as acknowledgement and retransmission.

    Try the lesson

    The start of the Fundamentals of computer networks: UDP (User Datagram Protocol) lesson, made from teaching notes for this specification point.

    Have a go first

    Which statement best describes how UDP delivers data across a network?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge

    Test your understanding of Fundamentals of computer networks: UDP (User Datagram Protocol)

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge