diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-08-09 17:21:20 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-08-09 17:22:01 +0200 |
commit | df9bc5bec20ac4d63f64cc5bee2d1b67716fa9ed (patch) | |
tree | d5124373489ff812808d403556b66413e44b5e32 /listening.1 | |
parent | 454f553834e39d35d311714681d3cebe6922a5e3 (diff) | |
download | listening-master.tar.gz listening-master.tar.xz listening-master.zip |
Put host and port into two arguments, as separation by : complicates IPv6 usage.
Diffstat (limited to 'listening.1')
-rw-r--r-- | listening.1 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/listening.1 b/listening.1 index 54c9f5f..7989a6d 100644 --- a/listening.1 +++ b/listening.1 @@ -6,9 +6,11 @@ .Nd check if a TCP server is listening .Sh SYNOPSIS .Nm +.Op Fl 46 .Oo Fl t Ar connect-timeout Oc .Oo Fl w Ar wait-timeout Oc -.Oo Ar host Ns \&: Oc Ns Ar port +.Op Ar host +.Ar port .Sh DESCRIPTION The .Nm @@ -23,6 +25,10 @@ accept connections. .Pp The options are as follows: .Bl -tag -width Ds +.It Fl 4 +Force use of IPv4. +.It Fl 6 +Force use of IPv6. .It Fl t Ar connect-timeout Wait at most .Ar connect-timeout @@ -33,7 +39,8 @@ Wait at most .Ar wait-timeout seconds total .Po decimal fractions are allowed Pc , -and keep trying to connecting when connection has been refused. +and keep trying to connecting when connection has been refused +.Po default: only try once Pc . .El .Sh DETAILS .Nm |