Computer networksLesson 2 of 3 in the course Transport layer

UDP Datagrams, Ports, Checksums, and Reliability

5 flashcards · 5 quiz questions · 5 match pairs · 4 fill-in sentences · English

Lesson progress
0 / 5

Your progress is kept in this browser only.Sign up to save it

Summary

The User Datagram Protocol (UDP) is a core transport-layer protocol in the Internet protocol suite. This lesson introduces how UDP sends messages and why its simple, connectionless design is useful.

UDP carries application messages in units called datagrams. A sending application gives a datagram to UDP, which adds a small header, and IP carries it across the network toward the destination host. UDP does not establish a dedicated communication channel or data path before sending.

All flashcards

What is UDP?
A connectionless, message-oriented transport protocol that carries application datagrams over IP.
What does connectionless mean for UDP?
UDP sends messages without negotiating a connection first; it handles each datagram independently.
What does a UDP checksum do, and what does it not do?
It can help detect corruption in a datagram, but does not guarantee delivery, ordering, or duplicate protection.
What is a UDP pseudo header?
IP-layer information included in the checksum calculation, but not transmitted as a separate UDP header.
How does QUIC relate to UDP?
QUIC runs on top of UDP and adds reliable, secure transport features.

Quiz questions

  1. How large is the standard UDP header?Answer: 8 bytes
  2. What identifies a UDP application endpoint on a host?Answer: An IP address paired with a port number
  3. Which range contains IANA-registered ports?Answer: 1024–49151
  4. What value identifies UDP in the IPv4 pseudo header's protocol field?Answer: 17
  5. Which statement describes UDP checksum use in IPv4 and IPv6?Answer: It is optional in IPv4 and mandatory in most IPv6 cases.

Based on the Wikipedia article User Datagram Protocol, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.

All Computer networks lessons