echo-ip-rust/README.md

18 lines
238 B
Markdown
Raw Normal View History

2023-01-07 18:53:32 +00:00
# echo-ip
usage:
Start the server. Default: bind address 0.0.0.0 and port 8888.
```
./echo-ip -l 0.0.0.0 -p 8888
```
Send a HTTP request to the server, and you will receive an echo for you IP address.
```
curl 10.20.30.40:8888
```