IConnectionListener :: OnConnReceive

01 This function will be called as callback from the connection when it has received some data.
02

[C++] virtual void OnConnReceive(Connection *pConn, void const *pData, uint32 dataSize) = 0;
[C#] void OnConnReceive(Connection conn, byte[] data);

03 Parameters:
  • pConn / conn: The connection calling this function.
  • pData / data: The data received.
  • dataSize: Amount of bytes received.
04 This callback is on behalf of the SemysConnReceiveProt() callback.
05 [C++] The pData pointer is a temporary one that may not be kept beyond the scope of the callback. The received data has to be copied if it needs to be preserved.
06 Global Lock: Required
Reference: net::semys
Implementation: Semys Architecture
See Also: Arch Transporter Sub-System, IConnectionListener, SemysConnReceiveProt()

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