IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

SSHChannelDataIn Event

Fired when data is received on an SSH channel.

Syntax

typedef void __fastcall (__closure *TiphSSHDaemonSSHChannelDataInEvent)(System::TObject* Sender, TiphSSHDaemonSSHChannelDataInEventParams *e);

__property TiphSSHDaemonSSHChannelDataInEvent OnSSHChannelDataIn = {read=FOnSSHChannelDataIn, write=FOnSSHChannelDataIn};

typedef struct {
     int ConnectionId;
     int ChannelId;
     String Data;
} TiphSSHDaemonSSHChannelDataInEventParams;

Remarks

Whenever a client sends data to an SSH channel, the SSHChannelDataIn event will fire. ChannelId will identify the channel receiving data. Data will contain the raw data being received.

ConnectionId identifies the connection. ChannelId identifies the channel.

Note: Processing long-running requests, including sending channel data, inside this event may cause the underlying transport to stop processing SSH data until the event returns. In order to prevent this from happening, all requests should be processed asynchronously in a separate thread outside of this event.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0