Skip to content
Start free evaluation

PDCOMM_TCP_PROTOCOL_ERROR

Macro

Event kind: the peer violated the HSMS protocol.

#define PDCOMM_TCP_PROTOCOL_ERROR UINT32_C(4)

Declared in: #include <pdcomm_tcp.h>

PdcommTcpEventInfo::code holds a protocol error such as #PDCOMM_TCP_INVALID_FRAME. The offending message is discarded and the connection stays open.