Tech notes on the go
Friday, December 13, 2013
Sending UDP from cmdline
Useful if you are testing something
echo "HELLO" | socat - UDP4-DATAGRAM:
192.168.1.0:19838
,sp=19835,broadcast,range=
192.168.1.5/32
watch echo "HELLOA `date`" | socat - UDP4-DATAGRAM:
192.168.1.0:19838
,sp=19835,broadcast,range=
192.168.1.5/32
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment