January 2023
Intermediate to advanced
666 pages
14h 36m
English
In the previous chapter, we managed to get actors running in different threads to send messages to each other. While it is exciting to code the building blocks for async programming, we left that chapter with a not-very-practical application. In this chapter, we will be creating a server with Tokio that listens to TCP traffic on a port. If messages are sent, our TCP server will process the incoming data, perform operations through a series of actors and threads, and then return the updated data to the client.
In this chapter, we will cover the following topics:
Read now
Unlock full access