summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-08-29 04:25:57 -0400
committerpommicket <pommicket@gmail.com>2025-08-29 04:25:57 -0400
commitaf16284921b65f92601279001531862d1c80cee7 (patch)
treeffabe5598ab96839de4ff44c53fa2ef44f4db062 /README.txt
Initial commit (v. 0.1.0)v0.1.0
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..949d9b3
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,13 @@
+Very simple server for obtaining IP address.
+
+This program runs a TCP server which responds to every HTTP request
+with the IP address of the sender. It doesn't even check for valid HTTP
+and ignores all headers.
+
+OPTIONS
+ --help - Display this help text and exit
+ --addr <ADDR> - Set address to bind server on (default: 0.0.0.0)
+ --port <PORT> - Set port to host server on (default: 80)
+ --max-connections <NUMBER> - Set maximum number of simultaneous connections (default: 32)
+ --timeout <NUMBER> - Set timeout for requests, in seconds (default: 15)
+ --version - Display version number and exit