Simple one on one chat
This crate make use of actix Actor system and tokio asynchronous run-time.
The application can start in 2 modes:
- Server: waiting for client(s) to connect
- Client: Connecting to a server
- The server can communicate with differents clients simultaneously.
- Both client and server can send message to the other side.
- When a message is received on one side, it automatically send back "message received".
- The sending side show the roundtrip time.
- Any data can be send: binary, text (any encoding)
cargo build --release
chat # Run as server
chat --client # Run as client
chat --help # For more options and informations
cargo doc --document-private-items --open
cargo test