This example program will:
- Bind to an IP address and port
- Accept any number of TCP connections
- Handle each connection by:
- Waiting for
String
messages to be received - Echoing the
String
message back to the source
- Waiting for
export RUST_LOG=info
cargo run <ip-address-to-bind-to>
export RUST_LOG=info
cargo run localhost:5678