SemysGathReceiveProt

01 Implements the SemysConnReceiveProt() callback and gathers frames.
02

int SemysGathConnReceiveProt(HSemysListener listener, HSemysConn conn, SemysDataBuffer *pBuf);

03 Parameters:
  • listener: Handle to the Gatherer object associated with conn.
  • conn: Handle to the connection that received the data.
  • pBuf: SemysDataBuffer containing the received data.
04 This function implements the SemysConnReceiveProt() callback and may be used directly for a connection.
05 This function expects that the passed listener value refers to a Gatherer object, so it must have been set properly for the connection.
06 For every call to SemysGathConnTransmit*Prot() at the transmitting side, one corresponding call to SemysGathReceiveProt() will happen through this function (on the receiving side).
07 If an error is detected in the stream (wrong CRC), the callback SemysGathErrorProt() will be called.
08 Global Lock: Required
Reference: SemysGatherer.h
Implementation: Semys Library
See Also: Gatherer Sub-System, SemysGathReceiveProt()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.