A TCP echo server is a fairly simple concept - a client sends data to a listener server, and the listener sends the same data immediately back to the client. In addition to the echo server, this project contains a client server using standard in and out. So, the end result is the client types into their terminal and the same text is then printed out again. It looks like this:
Hello world
Hello world
From the project directory, start by running the listener server,
cargo run
To start the client, the binary file must be created first. Open a second terminal and run,
rustc /src/client.rs
Afterwards, the binary can be run directly,
./client.exe