[fpc-pascal] FPHTTPClient DNS Round Robin

Michael Van Canneyt michael at freepascal.org
Tue Jul 29 13:44:02 CEST 2014



On Tue, 29 Jul 2014, Dimitrios Chr. Ioannidis wrote:

> Hi all,
>
>  i tried unsuccesfully to use the fphttpclient to connect to a site which 
> has two A Records with different ip's AKA DNS Round Robin. Before i diggin to 
> the code, does anyone know if the fphttpclient works more or less like a 
> browser ? Meaning that does it gets all the ip's and try to connect one by 
> one until  the end of the list before return error ?

It most definitely does not. It just tries the first address.

Michael.



More information about the fpc-pascal mailing list