async-std 1.6.2

Async version of the Rust standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Tutorial: Writing a 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 `async-std`.

You can also find the tutorial in [our repository](https://github.com/async-rs/async-std/blob/master/examples/a-chat).