Chat server
May 4, 2024 ยท View on GitHub

This is the companion code repository for the article Beginner's Guide to Concurrent Programming: Coding a Multithreaded Chat Server using Tokio.
You can find the full source code for any example from the article in the examples directory.
This project uses just to run commands.
To run an example
just example {number}
To connect to any running example
just telnet
To connect to any running example >=09 with a nicer TUI client
just chat
To see a diff between any two examples run
just diff {number} {number}
Run the final Production ReadyTM server code with
just server
And as before you can connect to it with a TUI client by running
just chat
And if gets lonely run chat bots with
just bots
To get a list and description of all commands run
just list
License
This code is dual-licensed under Apache License Version 2.0 or MIT License, at your option.