nes-proj/examples/udp-echo-server
George Oikonomou d605dc3b82 Add simple UDP echo server example
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.
2017-10-30 21:46:54 +00:00
..
Makefile Add simple UDP echo server example 2017-10-30 21:46:54 +00:00
README.md Add simple UDP echo server example 2017-10-30 21:46:54 +00:00
udp-echo-server.c Add simple UDP echo server example 2017-10-30 21:46:54 +00:00

README.md

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.