Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 361 Bytes

File metadata and controls

12 lines (7 loc) · 361 Bytes

Writing an async chat

Nothing is simpler than creating a chat server, right? Not quite, chat servers expose you to all the fun of asynchronous programming:

How will the server handle clients connecting concurrently?

How will it handle them disconnecting?

How will it distribute the messages?

This tutorial explains how to write a chat server in tokio.