Skip to content
Start free evaluation

PDCOMM_TCP_OP_READ

Macro

Socket operation: reading from the connection.

#define PDCOMM_TCP_OP_READ UINT32_C(6)

Declared in: #include <pdcomm_tcp.h>

Framing failures on the byte stream, such as an invalid length field, a frame larger than PdcommTcpOptions::max_frame_bytes, or end of stream inside a frame, are reported as read failures with #PDCOMM_TCP_IO_INVALID_DATA.