Back to product page

ChannelStart event


Fires when a specific channel has started.

Syntax

  • Basic
Private Sub object_ChannelStart(Chan)
The ChannelStart(object,Chan) syntax has these parts:
objectA wodTunnel object.
ChanA Channel object. Reference to the channel that was started.

Remarks

ChannelStart event is fired after wodSSHTunnel successfully starts listening for a predefined port (for LocalListen) or gets notification from the server that it has started listening for (and accepting) incoming connections (for RemoteListen). After this event has fired, you can start using this channel for tunneling.

If you want to stop the channel, call the Stop method.

Platforms

Windows