/hostrc

Specify that the host name (rather than the IP address) should be used for reconnecting to an exclusive Uniface Server.

/hostrc

For example:

[SERVERS]
sales   = userver.exe /ex /gates=3800-4010 /hostrc

Use With

/ex—use only with listening exclusive servers.

Description

Use the /hostrc switch with a UST declaration in the Uniface Router’s assignment file to specify that the host name should be used by the client to reconnect to an exclusive server over TCP or TLS .

Note:  When using TCP, the /hostrc switch has no effect unless the /gates switch is also specified. For more information, see Logical and Physical Connections.

Use /hostrc switch when the Uniface Server runs behind a NAT (Network Address Translation) firewall, where the untranslated IP address of the Uniface Server is of no use to the client, so the host name must be used. For more information, see Exclusive Servers and Firewalls.

Related Topics