No description
Find a file
Matthieu Herrb c00525adaa Remove the use of Posix real-time functions.
The only reason to use clock_gettime() was to take a timestamp
in the signal handler. This is not needed anymoire, so improve
portability by sticking to gettimeofday() and setitimer().
2012-07-31 08:26:05 +02:00
.gitignore add .gitignore 2012-07-15 13:04:44 +02:00
echoc.c Remove the use of Posix real-time functions. 2012-07-31 08:26:05 +02:00
Makefile Remove the use of Posix real-time functions. 2012-07-31 08:26:05 +02:00
README add README 2012-07-18 08:22:41 +02:00

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:

/*
 * Copyright (c) 2012 Matthieu Herrb <matthieu@herrb.eu>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */