Skip to main content

Application-Level Protocols

  • Chapter
  • First Online:
Network Programming with Go
  • 2623 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics