I want to send only one short value in a UDP packet, but running the command
echo -n \"hello\" | nc -4u localhost 8000
I can see that the serve
I had the same problem but I use -w 0 option to send only one packet and quit. You should use this command :
-w 0
echo -n "hello" | nc -4u -w0 localhost 8000