botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework

Unpack BotSense bsProxy message header. More...

Unpack BotSense bsProxy message header.

Synopsis:
#include "botsense/BotSense.h"
#include "botsense/libBotSense.h"

int bsUnpackMsgHdr(byte_t buf[], size_t bufSize, BsProxyMsgHdr_T *pMsgHdr);

Description:

Parameters
[in]bufInput message buffer.
bufSizeSize of input buffer.
[out]pMsgHdrPointer to message header structure.
Returns
On success, returns the number of bytes unpacked.

On error, the appropriate < 0 negated BotSense Error Code is returned.