This example program shows how to send and receive UDP datagrams. This program acts as the server, and listens for any data entering on UDP port 54123. If a UDP message is received, we read it and return data to the same socket (IP and port) that just sent us data.
For testing this example, the free Netix Network utility program (see www.modtronix.com/soft/netix) can be used. This program has a UDP terminal that can be used for sending and receiving UDP Datagrams.
The following modules are included in this project: