Use this method to specify the names of hosts running Trillium Geolocation Server installations. This method can be called multiple times to specify multiple host names. The client uses these host names when the Connect method is called.
If more than one host is specified, the client uses the host names for redundancy. If a server connection fails, the client will attempt to reconnect to each host in the order they were specified, until a successful connection is established.
Even if only one host name is specified, use this method instead of setting the Host property, because the AddHost method creates a more robust connection.
The host name can either be specified as a DNS name or an IP address. To specify a non-standard network, use the syntax <hostname>:<portnumber>.