udpprobe - send a UDP datagram and look for response, version 1.1
$Id: README,v 1.1 1994/01/31 22:46:30 olaf Exp $

This program sends a  UDP datagram to a  specified port and optionally
waits  for response. It is intended  mainly for  testing and signaling
purposes. You  can  use    it on   the   echo or  daytime  port   (cf.
/etc/services  and /etc/inetd.conf) to test  if  your network is alive
and the UDP modules of specific hosts are working. You can also use it
for signaling: configure inetd to start a specific program whenever it
receives a  packet on  a  special port. This  way  you can configure a
system with a mail server and clients that are  not always running, so
that the mailer is  told from a  client by sending  a UDP packet (i.e.
an "I am here" message) to deliver mail, and similar things.

I have written this program on  Linux 0.99.14 and  tested it on Ultrix
4.3 and HPUX 8.07   as well.  It  should run  on  any system  that has
reasonably BSD-compatible networking and getopts(3) (not really needed
but I'm  lazy :-).  Perhaps you  need  to tune the header  includes  a
bit. You don't need special privileges to compile or run this program.

Note: If you're looking for a similar (but much more powerful) tool to
access TCP ports, try socket(1) from the comp.sources.unix archive.

Written by Olaf Titz <olaf@bigred.ka.sub.org>
This software is released into  the public domain.  The author assumes
no responsibility of any kind for its use.


