Cross-platform C SDK logo

Cross-platform C SDK

INet

❮ Back
Next ❯
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.

Types and Constants

enumierror_t
structHttp
structJsonOpts

The INet library implements general Internet protocols. While the Sockets allow us to open a communication channel between two remote machines, it is necessary to define a format for the messages that both partners will exchange, so that the communication is carried out satisfactorily.

Inet library dependency tree.
Figure 1: INet dependencies. See SDK reference .

enum ierror_t

Error codes of network connections.

enum ierror_t
{
    ekINONET,
    ekINOHOST,
    ekITIMEOUT,
    ekISTREAM,
    ekISERVER,
    ekINOIMPL,
    ekIUNDEF,
    ekIOK
};
ekINONET

There is no internet connection on the device.

ekINOHOST

Unable to connect to the remote server.

ekITIMEOUT

Maximum timeout for connection has been exceeded.

ekISTREAM

Error in the I/O channel when reading or writing.

ekISERVER

Error in server response format.

ekINOIMPL

Functionality not implemented.

ekIUNDEF

Undetermined error.

ekIOK

No error.


struct Http

Manage an HTTP connection initiated from the client process.

struct Http;

struct JsonOpts

Options when processing a JSON script.

struct JsonOpts;
❮ Back
Next ❯