Back to product page

LocalPort property


Holds the destination port on the local computer.

Type

A Long value

Syntax

  • Basic
object.LocalPort [= value]  
The LocalPort(object,value) syntax has these parts:
objectAn expression evaluating to an object of type Channel.
valueA Long value.

Remarks

Together with the LocalAddress property, LocalPort defines where wodSSHTunnel will listen for incoming connections.

In fact, LocalPort has two purposes. First, when you define LocalListen in channel type, in which case wodSSHTunnel listens on this port and accepts new connections. Second, when you define RemoteListen in channel type, in which case wodSSHTunnel forwards remotely initiated connections to this port.

Platforms

Windows