doc: README.md

This commit is contained in:
椰子 2023-01-08 02:53:32 +08:00
parent 3df525ac01
commit 0069f8d5e8

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# 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
```