SSHChannelEOF Event

Fired when the remote peer signals the end of the data stream for the channel.

Syntax

ANSI (Cross Platform)
virtual int FireSSHChannelEOF(SSHClientSSHChannelEOFEventParams *e);
typedef struct {
const char *ChannelId; int reserved; } SSHClientSSHChannelEOFEventParams; Unicode (Windows) virtual INT FireSSHChannelEOF(SSHClientSSHChannelEOFEventParams *e);
typedef struct {
LPCWSTR ChannelId; INT reserved; } SSHClientSSHChannelEOFEventParams;
- (void)onSSHChannelEOF:(NSString*)channelId;
#define EID_SSHCLIENT_SSHCHANNELEOF 8

virtual INT IPWORKSSSH_CALL FireSSHChannelEOF(LPSTR &lpszChannelId);

Remarks

The SSHChannelEOF event is fired when the end of the data stream for a channel on an SSH connection is reached.

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) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 C++ Edition - Version 20.0 [Build 8501]