HomeArticles

Network Applications on the Tokio Stack

RustTokio  •  [ Table of Contents ]

This guide is a collection of articles and exercises covering how to write network applications with Tokio. Its base is a workshop I gave over the last few years called “Network Applications using Tokio.” The slides are available in the respective section.

The guide is pretty hands-on. You learn a few new patterns and concepts and then apply them in a real-world exercise. I can’t take full credit for the exercises, though. The example – a TCP-based chat – has been lying around in my examples folder for quite a while, and I don’t remember where I got it from. From there on it has taken a life on its own and has become the example you see here. If you know the original author, please let me know so I can give proper credit.

The work on this guide is ongoing. I will publish new material over time. Please check back regularly. For updates, follow me on Bluesky.

Tokio: Table of contents

  1. Getting Started
  2. Channels
  3. Macros

Related Articles