Skip to Content
Network Programming with Go
book

Network Programming with Go

by Adam Woodbeck
March 2021
Intermediate to advanced content levelIntermediate to advanced
392 pages
9h 46m
English
No Starch Press
Content preview from Network Programming with Go

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Network Programming with Go Language: Essential Skills for Programming, Using and Securing Networks with Open Source Google Golang

Network Programming with Go Language: Essential Skills for Programming, Using and Securing Networks with Open Source Google Golang

Jan Newmarch, Ronald Petty
Programming Kubernetes

Programming Kubernetes

Michael Hausenblas, Stefan Schimanski

Publisher Resources

ISBN: 9781098128890Errata Page