Visual RFC.
ALL RFCs / RFC 768
Read the RFC ↗
RFC 768 / PROTOCOL MECHANISMS

Who notices a lost reply?

05

Ask an app to add one bead, then lose a request or reply and try again.

RFC 768 · User InterfaceEXAMPLE
1 / 4 · Ask the app to add one bead

This fictional app puts request ID 7 in its message data. UDP has no request-ID field and promises no acknowledgement.

An app-defined request

Request ID 7 · app dataAdd one bead
Remote app starts with
No beads added

What happens if you change this?

Make one change, then watch again. Restart restores the original example.

3 / 3
03
An application-defined reply can supply evidence that UDP itself does not.

An application-defined reply can supply evidence that UDP itself does not.

Who notices a lost reply?Ask an app to add one bead, then lose a request or reply and try again.applicationpeerUDP messagelocal sendremote outcome?application-defined responseadditional evidenceUDP has no built-in acknowledgment or retransmission

Key idea: Replies, request IDs, retries and duplicate-action protection belong to an application protocol, not UDP itself.

Terms
UDP
User Datagram Protocol: sends separate messages to numbered endpoints with a small header.
Datagram
One separately carried message, rather than an ordered byte stream.
Port
A numbered endpoint used to choose where a message goes within a host.
Payload
The carried message data, excluding the wrapper being discussed.
Checksum
A computed error-check value; it is not proof of identity.

Look up a term in the glossary ↗

Rules & examples

Receipts, retries and duplicate-action protection belong to the app.

These reference examples may differ from the selected experiment.

  • A successful local send does not prove the remote application received the message.
  • This RFC supplies no handshake, retransmission timer, congestion controller, or cryptographic peer authentication.

The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.

RFC768 User Interface/Introduction supplies datagrams and source/destination information, without transport acknowledgement or retransmission. This toy app retries at tick 4 at most once, then stops waiting at tick 12; those are chosen values, not UDP timers. Its remembered ID 7 can suppress a repeated action and replay a reply. A matching unprotected ID does not authenticate the response. Real UDP applications must address congestion, rate, timeout and message-size guidance (RFC8085), and define any reliability/security protocol explicitly. These experiments use ordinary IPv4 UDP without RFC 9868 options or fragmentation. No packets are sent.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 768

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗