about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-08-09 17:21:20 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-08-09 17:22:01 +0200
commitdf9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed (patch)
treed5124373489ff812808d403556b66413e44b5e32 /README
parent454f553834e39d35d311714681d3cebe6922a5e3 (diff)
downloadlistening-df9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed.tar.gz
listening-df9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed.tar.xz
listening-df9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed.zip
use DNS to lookup addresses, add -4/-6 HEAD master
Put host and port into two arguments, as separation by : complicates
IPv6 usage.
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 6 insertions, 2 deletions
diff --git a/README b/README
index c13b2a9..b24f3c8 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ NAME
      listening – check if a TCP server is listening
 
 SYNOPSIS
-     listening [-t connect-timeout] [-w wait-timeout] [host:]port
+     listening [-46] [-t connect-timeout] [-w wait-timeout] [host] port
 
 DESCRIPTION
      The listening utility performs a TCP scan against the given host
@@ -15,6 +15,10 @@ DESCRIPTION
 
      The options are as follows:
 
+     -4      Force use of IPv4.
+
+     -6      Force use of IPv6.
+
      -t connect-timeout
              Wait at most connect-timeout seconds per connection attempt
              (default: 0.2s, decimal fractions are allowed).
@@ -22,7 +26,7 @@ DESCRIPTION
      -w wait-timeout
              Wait at most wait-timeout seconds total (decimal fractions are
              allowed), and keep trying to connecting when connection has been
-             refused.
+             refused (default: only try once).
 
 DETAILS
      listening implements a TCP SYN scan (half-open scan), which has several