Chapter 11: Building Communication Channels with asyncio
Communication channels are a big part of applied concurrency in the field of computer science. In this chapter, we will cover the fundamental theories of transports, which are classes provided by the asyncio
module to abstract various forms of communication channels. We will also cover an implementation of a simple echoing server-client logic in Python, to further illustrate the use of asyncio
and concurrency in communication systems. This chapter will help us frame what we have learned so far about asynchronous programming in the practical context of communication channels, and the code we work with will serve as a base for more complex applications.
The following topics will be covered in this chapter:
- The ecosystem of communication channels
- Getting started with Python and Telnet
- Client-side communication with
aiohttp