> Is there a better way to hook the DnsResult for THttpCli and 
> TSslHttpCli?

There is new version in SVN, will get zipped this evening, that adds a
new event, which will allow you to update DnsResult.  

>From the change log:

When a host name is looked-up to get an IP address from a DNS server,
sometimes more than one address is offered, perhaps for alternate load
sharing servers or both IPV4 and IPV6.  Currently ICS clients choose
the first IP address from DnsResultList (in wsocket) as DnsResult.

This change adds an OnSelectDns to the HTTP client so the application
can choose one of the alternate IP addresses, or retry with an
alternate on failure.  A similar event will eventually be added to
other clients.  This may be tested with www.google.co.uk which returns
two IP addresses.

Angus


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to