|
| Type | Description | ||
| Data as SAFEARRAY FAR* | Byte array of data received from remote peer. |
TuningReceive is a notification method. You should not call it to receive message, it will be called by wodBeep when new data arrived from the remote peer. Byte array provided through Data argument is not structured in any way - it is raw data received by remote side before it was parsed by wodBeep engine. At this point, all tuning profiles currently active get this data to change it the way they need to. Typical example would be SSL tuning profile - when it comes from remote socket is it encrypted and therefore unreadable by wodBeep. But, before wodBeep process it, TuningReceive notification is called so all tuning profiles see this data. Luckily, SSL profile will receive this data, decrypt it, and return back so wodBeep can process it just as it was unencrypted in the beginning.
|