liveBook · Manning

UDP

UDP (User Datagram Protocol) is a connectionless transport-layer protocol that sends datagrams without guaranteeing delivery, ordering, or duplicate suppression.

How 5 Manning books explain it

Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

User Datagram Protocol is a transport-layer protocol that sends datagrams without guaranteeing delivery of every message.

How it is used
Compares UDP with TCP to explain transport-layer addressing, session multiplexing, and protocol selection.
How deep it goes
Defines datagrams, limitations, checksum behavior, header size, overhead, and use cases, but does not cover configuration commands.
Examples
Uses DNS lookups, VoIP, live video streaming, datagram-versus-stream analogies, and TCP comparison tables.
What you can do after
Evaluate UDP and TCP trade-offs and identify situations where low overhead or tolerated loss favors UDP.

Read how Acing the CCNA Exam: Volume 1 Fundamentals and Protocols explains UDP →

Rust in Action: Systems programming concepts and techniques

UDP is a connectionless transport protocol that sends independent datagrams without guaranteeing delivery, ordering, or duplication control.

How it is used
Deploys UDP as the transport for a practical DNS hostname-to-IP resolver.
How deep it goes
Demonstrates UDP through DNS message construction and exchange, but treats only a small portion of the DNS protocol.
Examples
Uses a Rust command-line resolver, constructed DNS queries, public DNS providers, and hostname-to-IPv4 output.
What you can do after
Build a small hostname resolver with Rust's UdpSocket and the trust-dns crate.

Read how Rust in Action: Systems programming concepts and techniques explains UDP →

Go in Practice, Second Edition

UDP is a connectionless transport-layer protocol that sends datagrams without guaranteeing delivery or ordering.

How it is used
Addresses logging back pressure by letting clients send without waiting for acknowledgments or maintaining connections.
How deep it goes
Shows a runnable Go sender, a timeout choice, a listener command, and practical benefits while leaving broader trade-offs unspecified.
Examples
Uses Go UDP logging with net.DialTimeout and a netcat listener on localhost port 1902.
What you can do after
Build UDP-based logging clients that tolerate receiver slowdowns and configure send timeouts.

Read how Go in Practice, Second Edition explains UDP →

Acing the CCNA Exam: Volume 2 Advanced Networking and Security

UDP is a connectionless transport-layer protocol that sends datagrams without providing TCP's reliability or ordering guarantees.

How it is used
Carries DHCP messages during automatic IPv4 address leasing.
How deep it goes
Defines UDP’s DHCP role and port assignments, but does not descend into transport-header or delivery mechanisms.
Examples
Uses DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, and DHCPACK exchanges between a client and server.
What you can do after
Understand DHCP port assignments and recognize UDP’s role in the DORA exchange.

Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains UDP →

Fast Python: High performance techniques for large datasets

How it is used
Uses a lightweight transport option when latency and network speed matter more than guaranteed delivery.
How deep it goes
Explains datagram semantics, socket construction, message exchange, and security assumptions, but defers reliability handling.
Examples
Demonstrates a Python pastebin client using localhost, port 54321, msgpack commands, and sendto/recv operations.
What you can do after
Operate/configure a Python UDP endpoint and judge whether its loss, ordering, encryption, and overhead trade-offs fit a networked application.

Read how Fast Python: High performance techniques for large datasets explains UDP →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.