you might get something out of this discussion
https://github.com/curl/curl/issues/2126
summary - failed connections intentionally do not report back ip address
hope that helps, Jim Fuller
On Thu, 2 Jan 2020 at 05:25, Arthur Murray via curl-library
wrote:
>
> Hi,
>
> I would like to get the
On 1/2/2020 12:34 AM, Ray Satiro wrote:
libcurl saves that information only if a connection is made [1]. You
may not be looking for debug strings but CURLINFO_TEXT is the fastest
way I can think of to do what you're asking [2][3][4][5]. Either that
or you modify libcurl for your own purposes
On 1/2/2020 12:34 AM, Ray Satiro wrote:
Note libcurl may attempt two connections at once and then goes with
the fastest connection in what is known as "happy eyeballs".
Oops I meant it attempts both connections simultaneously and then uses
the first completed connection. You can read more
On 1/1/2020 10:48 PM, Arthur Murray via curl-library wrote:
I would like to get the IP#(s) of both successful and failed
connections after "curl_easy_perform". For example: If I try to:
curl_easy_setopt(curl, CURLOPT_URL,"http://www.google.com:999;);
res = curl_easy_perform(curl);
It will
Hi,
I would like to get the IP#(s) of both successful and failed
connections after "curl_easy_perform". For example: If I try to:
curl_easy_setopt(curl, CURLOPT_URL, "http://www.google.com:999;);
res = curl_easy_perform(curl);
It will timeout for port 999 but both of these getinfo entries are