A Rust TCP server that responds with callers’ IPv4 address
This server is the counter part to mip. It responds with the callers’ IP address on request. That’s it.
Run the server with
cargo run, then connect to it on port 8111.
Build the binary for your system with
$ cargo build --release
Then copy the binary from
target/release/yip to some place in your
$PATH. Afterwards the server can be started by running
Specify custom port
By default port
8111 is used. A different port can be set with the environment variable
$ PORT=8080 yip