kdpReceiveDispatcher
The KDP receive dispatch function.
Declaration
static void kdpReceiveDispatcher(
void *buffer,
UInt32 *length,
UInt32timeout);Parameters
- buffer:
KDP receive buffer. The buffer allocated by KDP has room for 1518 bytes. The receive handler must not overflow this buffer.
- length:
The amount of data received and placed into the buffer. Set to 0 if a frame was not received during the poll interval.
- timeout:
The amount of time to poll in milliseconds while waiting for a frame to arrive.
Overview
Field KDP receives requests, then dispatches the call to the registered receiver handler.