wodSSHTunnel ActiveX Control - ChannelStop Event
    
 

Description

Fires when a specific channel has stopped.


Syntax

Private Sub object_ChannelStop(Chan, ErrorCode, ErrorText)



The ChannelStop Event syntax has these parts:

Part Description
object A wodTunnel object.
Chan A Channel object. Reference to the channel that was stopped.
ErrorCode An Integer value. Error code that occurred or 0 if none.
ErrorText A String value. Text description of the error that occurred, if any.

Remarks

The ChannelStop event is fired when wodSSHTunnel stops accepting new users on a specific channel. It can also be fired when Start is called but wodSSHTunnel is unable to start listening on the defined Port (for LocalListen type) or receives a failure response from the SSH server upon a listening request (for the RemoteListen type).