int doCmdBlockingReceive(vscpEventEx *pEventEx, uint32_t timeout = 500)
Pointer to a VSCP event ex that will receive the received event on success.
Timeout in milliseconds to wait for data. Default is 500 milliseconds.
CANAL_ERROR_SUCCESS on success or an error code on failure. CANAL_ERROR_FIFO_EMPTY is returned if no event was available. CANAL_ERROR_TIMEOUT on timeout. CANAL_ERROR_COMMUNICATION is returned if a socket error is detected.
Receive an event ex from the remote VSCP server. The receiveloop command must have been issued for this method to work as.
Fri Jan 11 2019 17:30:44 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).