Back to product page

Start method


Starts the channel tunneling.

Type

None

Syntax

  • Basic
object.Start  
The Start(object) syntax has these parts:
objectAn expression evaluating to an object of type Channel.

Remarks

The Start method will cause the channel to start listing for local connections on LocalPort, if channel type is LocalListen.

For channel type RemoteListen, it will notify the server that it should start listening on RemotePort and send notifications back to wodSSHTunnel for any connections made on that port.

Upon successfully starting, the ChannelStart event will be fired. The Start method may fail for several reasons. Typically this happens when the port specified by LocalPort setting is already in use by another application. If it fails, the ChannelStop event will be fired with the error message explaining why it failed to start.

Platforms

Windows