type

TScReceiveDataFromSourceEvent = function (Sender: TObject; var Data; Offset, Count: integer): integer of object;

 

property OnReceiveDataFromSource: TScReceiveDataFromSourceEvent;

 

Description

Occurs when the server gets data from the client. The event parameters hold the pointer to the data and its size.

The event is only triggered if a TScTCPConnection object, which enables the server to directly access the client through a socket connection, has not been specified during initialization of TScSSLServerConnection. In this case, the user should get data from the client and write it to the buffer specified in OnReceiveDataFromSource.

 

See Also

Init

OnSendDataToTarget

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support