SetHost

If you have a need to synchronize your client with a server other than the one already defined in your client's profile, you can use this command to specify a different server and port number to be used for synchronization.

The timeout is set in seconds.

Group: Sync Extension

Syntax: Sync.SetHost (ServerName, port ) as Boolean

b if able to set the hostname then returns True; False if it fails

Servername The name of the server to receive synchronization requests

port (Long) The port id of the target server

Example:

Sync.SetHost(MyBackupRFgen-2019.Server,21098)

Supported Versions:       RFgen 5.2.5.5 and newer.