UDP send and listen for passing messages and test connectivity

Setting up a listener in UDP :

Install socat

Jist here (Centos 6.6 : http://jist.sudoall.com/socat/setup

install

curl “http://jist.sudoall.com/socat/setup” | bash –

socat -u udp-recv:8888 –

To send the datagram :

nc -u 127.0.0.1 8888

njoy 😉

Leave a Reply

Your email address will not be published. Required fields are marked *