This function is used to enter a host to the host name cache of a user. If a host is found in the host name cache during replay, the specified IP-address is used for connects (no DNS queries are made).
WebAPI.bdh
WebAddToHNC(in sHostName : string, in sIpAddress : string): boolean;
true if the host name cache has been updated successfully.
false otherwise.
Parameter | Description |
---|---|
sHostName | Name of the host that should be entered into the host name cache. |
sIpAddress | IP-address of the host. |
dcltrans transaction TMain begin WebAddToHNC("lab3", "192.168.20.56"); WebPageUrl("http://lab3/shopit/", "ShopIt - Greetings"); end TMain;