From 0069f8d5e8aa7f25131463cfec32003b78cbfb5f Mon Sep 17 00:00:00 2001 From: Yaser Hsueh Date: Sun, 8 Jan 2023 02:53:32 +0800 Subject: [PATCH] doc: README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed21388 --- /dev/null +++ b/README.md @@ -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 +``` + +