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 😉