d605dc3b82
This example used to be considered specific to the CC2538DK platform. However, there was nothing really platform-specific to it. This commit moves the example to the top-level examples directory and documents it. |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
udp-echo-server.c |
UDP echo server example
This example demonstrates how to implement a simple UDP-server by using the original UDP API (as opposed to using the simple-udp module).
It is anticipated that this example will run on all supported platforms.
To test, compile and programme your device (or execute on the native platform). Then you can use netcat, like so:
$ nc -6u <your device's IPv6 address> 3000
Type something in your console and you should see it echoed back by the UDP server running on your device.