2 unstable releases
0.2.0 | Jan 27, 2020 |
---|---|
0.1.0 | Jan 19, 2020 |
#41 in #tcp-server
16KB
yip
Tiniest server which responds with requester IPv4 address
Why
This server is the counter part to https://github.com/kevingimbel/mip.
It responds with the callers' IP address on request. That's it.
Usage
Cargo
Run the server with cargo run
, then connect to it on port 8111.
Binary
Build the binary for your system with cargo
.
$ 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 yip
.
$ yip
Specify custom port
By default port 8111
is used. A different port can be set with the environment variable PORT
.
$ PORT=8080 yip
Contributing
We love and welcome every form of contribution!
Where to start?
Here are some good places to start:
- Issues with label Good first issue
- Issues with label Documentation
- Providing example implementations or usage demos
See open issues.
Code of Conduct
You are expected to follow our code of conduct when interacting with the project via issues, pull requests or in any other form. Many thanks to the awesome contributor covenant initiative!
License
GNU AFFERO GENERAL PUBLIC LICENSE 3, see LICENSE file.