====== Listening ====== # gnu-netcat nc -lu -p 9999 # all other netcat's nc -lu 9999 ====== Broadcasting ====== echo poo | socat - UDP-DATAGRAM:192.168.1.255:9999,broadcast ====== Unicast ====== echo poo | nc -u 192.168.1.18 9999
# gnu-netcat nc -lu -p 9999 # all other netcat's nc -lu 9999
echo poo | socat - UDP-DATAGRAM:192.168.1.255:9999,broadcast
echo poo | nc -u 192.168.1.18 9999