Back to product page

ChannelStop event


Fires when a specific channel has stopped.

Syntax

  • Basic
Private Sub object_ChannelStop(Chan, ErrorCode, ErrorText)
The ChannelStop(object,Chan,ErrorCode,ErrorText) syntax has these parts:
objectA wodTunnel object.
ChanA Channel object. Reference to the channel that was stopped.
ErrorCodeAn Integer value. Error code that occurred or 0 if none.
ErrorTextA 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).

Platforms

Windows