This commit is contained in:
Matthieu Herrb 2015-09-30 10:49:06 +02:00
parent 56da278151
commit 50fe2999f8
2 changed files with 12 additions and 6 deletions

2
README
View file

@ -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 <matthieu@herrb.eu>

16
echoc.1
View file

@ -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 ,