317 B
317 B
relay_server
An OTP application with an esockd-based UDP server.
Build
$ rebar3 compile
Run
$ rebar3 shell
The UDP listener is configured in config/sys.config and listens on port 7000
by default. It echoes received datagrams.
Test
$ echo "ping" | nc -u -w1 127.0.0.1 7000