procedure SendToClient(ChannelInfo: TScSSHChannelInfo; const Buffer; const Count: integer); overload;

procedure SendToClient(ChannelInfo: TScSSHChannelInfo; const Buffer: TBytes; const Offset, Count: integer); overload;



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.



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




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