 | wclServerConnectionDataEvent Delegate |
A server connection OnData event handler prototype.
Namespace: wclCommunicationAssembly: wclCommunication (in wclCommunication.dll) Version: 8.0.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 called the event.
- Client wclServerClientDataConnection
-
A wclServerClientDataConnection object represents a
connected remote client.
- Data Byte
-
A pointer to a received data buffer. It is guaranteed that the parameter
points to a valid data buffer. A 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