This example program shows how to send and receive UDP datagrams with the UDPGetArray() and UDPPutArray() functions. This program acts as the server, and listens for any data entering on UDP port 54123. If a UDP message is received, is is read and sent back to port 54124 of the node that just send us the message.
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: