wclServerConnectionDataEvent Delegate |
A server connection OnData event handler
prototype.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntaxpublic delegate void wclServerConnectionDataEvent(
Object Sender,
wclServerClientDataConnection Client,
byte[] Data
)
Public Delegate Sub wclServerConnectionDataEvent (
Sender As Object,
Client As wclServerClientDataConnection,
Data As Byte()
)
public delegate void wclServerConnectionDataEvent(
Object^ Sender,
wclServerClientDataConnection^ Client,
array<unsigned char>^ Data
)
Parameters
- Sender Object
- The object that initiated the event.
- Client wclServerClientDataConnection
- A
wclServerClientDataConnection object
represents a remote client connection.
- Data Byte
- The pointer to the received data buffer.
It is guaranteed that the parameter points to a valid data buffer.
The data buffer is valid only inside the event handler. If an
application needs to use the data outside the event handle it must
allocate own buffer and copy data into it.
See Also