Skip to content
Start free evaluation

PDCOMM_TCP_FRAME_LIMIT

Macro

Protocol error code reserved for received frames above PdcommTcpOptions::max_frame_bytes.

#define PDCOMM_TCP_FRAME_LIMIT UINT32_C(2)

Declared in: #include <pdcomm_tcp.h>

This version does not produce it: such a frame closes the connection with a #PDCOMM_TCP_TRANSPORT_ERROR event for #PDCOMM_TCP_OP_READ and #PDCOMM_TCP_IO_INVALID_DATA. If produced, PdcommTcpEventInfo::value1 would hold the frame size and value2 the limit.