type
TScAsyncReceiveEvent = procedure(Sender: TObject) of object;
property OnAsyncReceive: TScAsyncReceiveEvent;
Description
Occurs when data is received from the server.
Note: data coming from the server is processed in a separate SSH connection stream. Therefore, the event handler call can occur in a different way to synchronize with the main thread of the application.
The EventsCallMode property determines how this event handler will be called.
The InCount property indicates the size of the received data. The data can be read with the ReadBuffer method.
See Also