HGclient Option Summary

The following command line options are available for hgclient.  Many of these have corresponding configuration variables, named in brackets, which are described in greater detail in the next section.

-a <-2 to 2> [Aggression]  Set MTP/IP's aggression level.
-b <kilobytes> [StreamSize]  Set the buffer size for packaging commands.  The default is 8192 kilobytes.
-c <number> [MaxTran]  Limit the number of transactions to be served at any one time.  This may be bounded by the terms of your license configuration.
-d <level> [Debug]  Turn on diagnostic output.  Levels above 1 will produce copious output and degrade performance.
-D <address:port> [HGserver]  Designate the address as having an HGserver when working in Proxy Mode.  Proxy requests from the browser that target this server will automatically use HyperGate.  This option cannot be combined with “-i”, use the HGserver variable instead.
-e <seconds> [Expire]  Change the default expire time for stalled transfers.  Longer values may be useful on highly unreliable networks.
-f <config> Read the given configuration file instead of the defaults.  hgserver will ignore all configuration files if you specify: -f ""
-i Windows Only.  Self install as a Windows Service.  hgserver will copy itself to %SystemRoot%\system32 and operate with the values given for relevant command line options.  If an hgserver service is already running, it will be shutdown and replaced.  The newly installed service will be started automatically.
-k <kilobytes> [MaxRate]  Limit bandwidth in kilobytes per second.
-l <logfile> [LogFile]  Append diagnostic output to the named file path.
-L <rtt>[:<rate>] [Latency]  Advise MTP/IP of operation on a path with a high latency (over 500ms).  See the "Latency" configuration variable.
-M <rtt> [MaxRTT]  Advise MTP/IP that it should not allow the path round trip time (latency) to exceed the given number of milliseconds.  This can be useful on slow links, such as a cell-phone GPRS connection, to prevent excessive data lag.  It is also useful on high-speed lines to limit HyperGate's impact on other traffic.  However, values less than 2000ms may severely degrade performance.
-p <port> [Port]  Change the UDP port number used to listen for requests.  Use this option if there is a port conflict or you wish to take advantage of another UDP port that is already open in your firewall.
-P <port> [ServerPort]  Change the UDP port number used for contacting HGservers.  This value is overridden by HyperGate URLs and HGservers designated by -D options or HGserver variables. The default value is 8083.
-r <address:port> [Relay]  Activate Relay Mode, which will cause all proxied HTTP transactions to be passed through the given HGserver.  Transactions to designated HGservers and those using HyperGate URLs will work normally.  Your browser must be configured to use HGclient as a proxy server.
-R Modify or remove license code registration.
-u Windows Only.  Uninstall Startup Item.  The application will shutdown the current hgclient and delete its binary from the Startup folder.
-v Display version information and exit.