Abstract
A client and server need to exchange information via messages. TCP and UDP provide the transport mechanisms to do this. The two processes also need to have a protocol in place so that message exchange can take place meaningfully. A protocol defines what type of conversation can take place between two components of a distributed application, by specifying messages, data types, encoding formats, and so on. This chapter looks at some of the issues involved in this process and gives a complete example of a simple client-server application.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Jan Newmarch
About this chapter
Cite this chapter
Newmarch, J. (2017). Application-Level Protocols. In: Network Programming with Go. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2692-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2692-6_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2691-9
Online ISBN: 978-1-4842-2692-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books