6 Ensuring UDP Reliability
Chapter 5 introduced basic network applications using UDP and demonstrated the flexibility of Go’s net
package and interfaces for writing portable code. This chapter picks up where the last one left off to introduce one method of ensuring reliability when communicating over UDP.
This chapter starts by introducing an application protocol built on top of UDP. We’ll cover a subset of types used by this protocol and demonstrate how they are used to reliably transfer data. We’ll then implement a server that allows clients to download files using the application protocol. Finally, we’ll download a file from our server ...
Get Network Programming with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.