An easy way to send UDP packets in Linux
Published 26 May 2015 under software, udp
Bash gives us a very simple way of sending a UDP packet to an IP address and port:
echo "This is my data" > /dev/udp/127.0.0.1/3000
This example will send a UDP packet containing 'This is my data' to localhost on port 3000.
Commentsblog comments powered by Disqus