This example program shows how to use the TCP/IP stack in client mode. It sends a UDP datagram each time PIC port pin B0 is 0. The datagram is sent to socket 10.1.0.101:54124 (IP address 10.1.0.101, port 54124).
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: