PDCOMM_TCP_INVALID_FRAME
Macro
Protocol error: a received frame is malformed.
#define PDCOMM_TCP_INVALID_FRAME UINT32_C(1)PdcommTcpEventInfo::detail holds a PDCOMM_TCP_FRAME_* value that describes the problem. Only header and body problems of a complete frame (#PDCOMM_TCP_FRAME_UNSUPPORTED_PTYPE through #PDCOMM_TCP_FRAME_SECS_BODY) reach this event. A failure of the byte stream framing itself, such as an invalid length field, cannot be resynchronized because the SEMI E37 length field is the only message delimiter; it closes the connection with a #PDCOMM_TCP_TRANSPORT_ERROR event for #PDCOMM_TCP_OP_READ and #PDCOMM_TCP_IO_INVALID_DATA instead.