Chapter 145. Sample Code

Many examples using the networking support are provided. These are arranged as eCos test programs, primarily for use in verifying the package, but they can also serve as useful frameworks for program design. We have taken a KISS approach to building programs which use the network. A single include file <network.h> is all that is required to access the stack. A complete, annotated test program can be found at net/common/VERSION/tests/ftp_test.c, with its associated files.