From 50fe2999f892dc90fcbaf60d645a5ca52247be68 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Wed, 30 Sep 2015 10:49:06 +0200 Subject: [PATCH] tweaks --- README | 2 +- echoc.1 | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README b/README index d3b4dc8..bf6504b 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ echoc is a small network test program that sends UDP packets to the echo service (it should be activated in [x]inetd on the target host). echoc displays the start/end date of loss of connectivity. -It's distributed under the ISC license: +It is distributed under the ISC license: /* * Copyright (c) 2012 Matthieu Herrb diff --git a/echoc.1 b/echoc.1 index 3907f74..2f659b7 100644 --- a/echoc.1 +++ b/echoc.1 @@ -21,7 +21,9 @@ sends UDP packets to the .Dv ECHO service on the remote .Ar host . -The options ar as follow: +.Nm +displays the start/end date of loss of connectivity. +The options are as follow: .Bl -tag -width Ds .It Fl c Ar count Stop sending after @@ -30,10 +32,13 @@ packets have been sent. .It Fl d Set the .Dv Don't Fragment -bit. +bit on outgoing datagrams, on systems that allow programs to control it. +On some systems (MacOSX, OpenBSD) this option will do nothing and the +generated datagrams will have the DF bit set or not, depending on +system settings. .It Fl i Ar ms wait -.Ar i +.Ar ms milliseconds between every packet (default: 100 ms). .It Fl l Ar len Send packets of length @@ -45,8 +50,9 @@ Set destination port to (default: 7 - echo). .It Fl t Ar ms Wait at most -.Ar t -milliseconds for the reply before declaring the connection dead. +.Ar ms +milliseconds for the reply before declaring the connection dead +(default: 500ms). .El .Sh SEE ALSO .Xr nc 1 ,