This is a simple 2 way communication channel with 2 users. The server and client. The server runs the binary locally or bound to 0.0.0.0 for remote connections and on a port. The server will only accpet one client at a time and remain open after a client leaves waiting for the next one. The client can connect to a server given a host and port, and disconnects once they leave.
- Have rust and rust nightly installed.
- Have cargo package manager installed.
- Clone the repo.
- Overide the repo to use nightly or set your default rust compiler to nightly.
- Run
Cargo build --release
- This should populate a folder ./target/release with 2 binaries. r2wc-server and r2wc-client.
- To run the server call the server give a address for local or remote(127.0.0.1 or 0.0.0.0) and a port.
- To run the server call the client give a address and a port.
- Notes the max message size in the ui I wrote is capped at 255 characters(old school texting style).
- Type ":quit" or hit ctrl-L to exit.
You can also choose to use the tools I wrote to develop your own ui. To do so do similar processes as above but in client.rs and server.rs write the respecitive ui.