#Rust Chat Server
A simple chat server you can connect to using tcp. Based on examples found here and here.
- Install rust Nightly (We need nightly because of the two features included at the top of main.rs).
- Clone or download this repository.
- cd rust_chat/
- Run the app with this command:
cargo run
- Telnet in:
X.X.X.X PPPP
where X is the ip address in main.rs and PPPP is the port #. - If step 1 was successful it should ask you for a username. Type your username and press enter.
- If step 2 was successful you should be able to chat with other people in the chat room now. You will be in the "default" room.
- Chat with other people in the same room as you by typing a message and pressing enter.
Commands are messages where the first character is a '/' followed by the command name. For examples '/rooms'.
Currently support commands are:
/rooms
list all the currently active rooms/join ROOM_NAME
leaves your current room and joins another. If that room does not exist yet it is created./quit
to disconnect from the server