This example program shows how to send a file via TCP. The file is sent to socket 10.1.0.201:54124 (IP address 10.1.0.201, port 54124). It uses the sendFileToTcpServer() funtion in two different ways, one blocking and the other non blocking.
This project is compiled with the DEBUG_OFF not defined. This causes debug data to be sent out via the serial port. The Modtronix Embedded Debugger can be used to view the debug outputs.
The following modules are included in this project: