This is a simple C program to read from UDP sockets. It allows you to read from multicast addresses, which is the main difference with
netcat -u. The second big difference is the possibility of running
udp-cat listening for some seconds and return the amount of bytes read (very useful to monitor multicast sessions). The third difference is that
udp-cat can’t run in server mode.
If you are using GNU/Linux just type
make to build it and cross your fingers. Other platforms may require some tweaking.
Download from my github or clone the repository:
git clone git://github.com/samuelrivas/udp-cat.git