8 lines
227 B
Markdown
8 lines
227 B
Markdown
# 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. |