227 B
227 B
UDP receiver
Just a small example how server receiving UDP packets can be implemented in Go.
To send to it nc can be used
echo -n "some string" | nc -4 -u -w 0 localhost 30000
Sending stop will make the program exit.