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.

● Receive an outgoing stream of characters<br />

● Close a socket<br />

TCP/IP API calls for a TCP server:<br />

● Open a socket<br />

● Bind a socket, assign an address to an unnamed socket<br />

● Place the socket in a passive mode<br />

● Accept the next incoming connection<br />

● Receive an outgoing stream of characters<br />

● Send an outgoing stream of characters<br />

● Close a socket<br />

We provide several examples for programming client/server applications:<br />

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

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

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

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

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

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

Note:<br />

All program examples built with C-API-functions use the files TCPIP.C, TCPIP.H and TCPIPAPI.H.<br />

End of document<br />

Page 182 / 400

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

Saved successfully!

Ooh no, something went wrong!