For sending and receiving data, Contiki uses the functions provided by the uIP module, but Contiki adds a set of functions for connection management. The connection management functions make sure that the uIP TCP/IP connections are connected to the correct process.
Contiki also includes an optional protosocket library that provides an API similar to the BSD socket API.
Files | |
file | tcpip.h |
Header for the Contiki/uIP interface. | |
Data Structures | |
struct | tcpip_uipstate |
Defines | |
#define | UIP_APPCALL tcpip_uipcall |
The name of the application function that uIP should call in response to TCP/IP events. | |
#define | UIP_UDP_APPCALL tcpip_uipcall |
Functions | |
void | tcpip_uipcall (void) |