A sample implementation of a tcp server and client in rust. Client sends request to server using user supplied input via the command line and server responds with Hello ${input}
Here's how to run the project on your local machine for development and testing purposes. First Ensure you have rust tooling installed (https://rustup.rs/), then:
cd into project:
$ cd rust-tcp
create .env file:
$ echo SERVER_ADDRESS=127.0.0.1:{PORT} > .env
run server:
$ cargo run -p server
run client:
$ cargo run -p client input