Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-07

FPHTTPClient DNS Round Robin

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dimitrios Chr. Ioannidis

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 ?

regards,

Dimitrios Chr. Ioannidis
Michael Van Canneyt
to Dimitrios Chr. Ioannidis
Dimitrios Chr. Ioannidis wrote 7 lines
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.