18 lines
238 B
Markdown
18 lines
238 B
Markdown
|
# 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
|
||
|
```
|
||
|
|
||
|
|