diff --git a/SQCSim-common/netprotocol.cpp b/SQCSim-common/netprotocol.cpp index 9e6eec9..0c0d126 100644 --- a/SQCSim-common/netprotocol.cpp +++ b/SQCSim-common/netprotocol.cpp @@ -853,6 +853,8 @@ bool netprot::Deserialize(ErrorLog* errlog, char* buf, uint32_t *buflen) { return true; } + + netprot::PACKET_TYPE netprot::getType(char* buf, const uint32_t buflen) { if (buflen < 1 || buf[0] >= (char)netprot::PACKET_TYPE::LAST_PACK ||