Back to product page

Port property


Determines the port on the remote server.

Type

A Long value. Represents port on the remote server.

Syntax

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

Remarks

This property determines which port on the remote server is used for the connection. When you set the Protocol property, wodSSH will automatically set this value to the default port, depending on which protocol is selected. If the remote server uses some non-standard port value, you can change it to the appropriate value here.

This property value cannot be changed after the Connect method is issued.

Platforms

Windows