01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TCP/IP Application Developers Note - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index TCP/IP API News<br />

TCP/IP Applications<br />

Developer Notes<br />

The given examples may be used and modified by the application programmer. The application programmer<br />

should know about how the socket-interface works and these examples can help with gaining that<br />

understanding.<br />

Some of the programs are using int86x calls with the CPU registers loaded as described. We also provide a<br />

C-Library (tcpip.c), which places C wrapper functions around the software interrupt calls.<br />

All program examples built with C-API functions use the files tcpip.c, tcpip.h and tcpipapi.h. The <strong>SC12</strong> Beta<br />

version contains revised TCP/IP API calls, so you should always use the current TCP/IP API C and H files<br />

(tcpipapi.h, tcpip.c, and tcpip.h). These files contain all available API calls.<br />

Available examples:<br />

1. UDPEchoClient, udpclie.c, built with int86x calls<br />

2. UDPEchoServer, udpserv.c, built with int86x calls<br />

3. TCPEchoClient, tcpclie.c, built with int86x calls<br />

4. TCPEchoServer, tcpserv.c, built with int86x calls<br />

5. TCPEchoClient, tcpclie.c, built with C-API functions, using tcpip.c<br />

6. TCPEchoServer, tcpserv.c, built with C-API functions, using tcpip.c<br />

7. Reconfigure Ethernet interface, cfgip.c<br />

8. TCP/IP recv packet counting, pkt_cnt.c<br />

9. PPP server API test, ppps.c<br />

10. PPP client example, pppclie.c<br />

TCP/IP API<br />

End of document<br />

Page 159 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!