A simple telnet chat using Rust for educational purpose
- Multiple users can join a single chat
- Users can have nickname
- If username is not specified, the username will be
client-i
when i is an increasing number
- Run chat server by
cargo run
- Open a terminal with telnet client installed and run
telnet ip 8080
ip = localhost if client is on the same machine with server , for exampletelnet 192.168.1.20 8080
- Start chatting
- Change nickname by typing:
username: your-user-name
, for exampleusername: songoku