procedure SendToClient(ChannelInfo: TScSSHChannelInfo; const Buffer; const Count: integer); overload;
procedure SendToClient(ChannelInfo: TScSSHChannelInfo; const Buffer: TBytes; const Offset, Count: integer); overload;
Description
Call SendToClient to send data to an SSH client.
Use this method if for the channel specified in ChannelInfo the Direct mode is used. To handle data received from the client, the OnDataFromClient and OnDataToClient events are used.
Parameters:
• | ChannelInfo - holds the information about SSH channel; |
• | Buffer - points to the buffer that contains data to be transferred; |
• | Offset - zero-based byte offset in Buffer that indicates location of the data to transfer; |
• | Count - length of the data to be transferred. |
See also