AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
IotNetworkInterface_t Struct Reference

Represents the functions of a network stack. More...

#include <iot_network.h>

Data Fields

IotNetworkCreate_t create
 Create network connection.
 
IotNetworkSetReceiveCallback_t setReceiveCallback
 Set receive callback.
 
IotNetworkSetCloseCallback_t setCloseCallback
 Set close callback.
 
IotNetworkSend_t send
 Send data.
 
IotNetworkReceive_t receive
 Block and wait for receive data.
 
IotNetworkClose_t close
 Close network connection.
 
IotNetworkDestroy_t destroy
 Destroy network connection.
 

Detailed Description

Represents the functions of a network stack.

Functions that match these signatures should be implemented against a system's network stack. See the platform directory for existing implementations.


The documentation for this struct was generated from the following file: