Back to product page

Disconnect method


Disconnects from the remote server.

Syntax

  • Basic
object.Connect [Hostname], [Port], [Disconnect]
The Disconnect(object) syntax has these parts:
objectAn expression evaluating to an object of type wodTunnel.

Remarks

Disconnect method will close socket between wodSSHTunnel and remote server, thus breaking the connection and any ongoing transfers. It will also stop listening for all incoming connections and will instruct the server not to accept any 'remote port forwarding ' type connections prior to closing its connection.

Any users currently using wodSSHTunnel will also be disconnected immediately.

Platforms

Windows