๐๐ฎ The goal of this project is writing a simple chatroom (server-client) in Rust.
This project needs the Rust compiler (rustc) and the Rust package manager (cargo).
For installation it's advised to use rustup.
$ brew install rustup
Use rustup to install the Rust compiler and the Rust package manager.
$ rustup-init
- Clone the repository.
- Change the directory to server.
- Run
$ cargo run
- Change the directory to client.
- Run
$ cargo run
- Write your messages !
๐๐๐ If you try to send a message that's longer than 32 bytes it doesn't actually break anything. It just cuts off the message at 32 bytes.