method onData.
Application messages are delivered by this callback function.
|
hOwnerSocket
[in] . Handle of socket object
raw_data
[in] . Pointer to C-String data. Client may use this
data as is or convert it to BSTR
data_size
[in] . Size of data
0
The client
code will free the chunk of data (raw_data
)
with FreeString()
Negative value
The client
code let the component to free the chunk of data after returning from this
method.