echo-ip-rust/README.md

18 lines
242 B
Markdown
Raw Normal View History

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