dwnx_conn_read

Synopsis

#include <dwnx/dwnx.h>

int dwnx_conn_read(dwnx_conn *conn, const uint8_t *data, size_t datalen, dwnx_tstamp ts)

dwnx_conn_read() processes the incoming data pointed by data of length datalen. ts is the timestamp of this call. Normally, this function processes all input data.

This function returns 0 if it succeeds, or one of the following negative error codes:

TBD

In general, when one of negative error codes is returned, the QMux connection must be closed, and conn must be deleted by dwnx_conn_del().