Back to product page

Hostname property (Tunnel)


Determines the Hostname of the remote server.

Type

A String value

Syntax

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

Remarks

Prior to issuing the Connect method, you should set the Hostname property to the name of the remote server or its IP address. wodSSHTunnel will resolve the given string and use this value when the Connect method is called.

Resolution of the hostname can take few seconds depending on your operating system. It is possible that the component will freeze during this time because resolving is a blocking call. There is not much we could do internally to prevent it from happening.

Platforms

Windows