The file contains several ip: port proxies. I can not cycle check every proxy for accessibility to the site.

for(in >> count; !in.eof(); in >> count) { curl_easy_setopt(curl, CURLOPT_PROXY, count); 

It gives an error: Error: Could not resolve proxy .

How can this be realized?

  • Not by proxy - for(in >> count; !in.eof(); in >> count) - will read (unsuccessfully) once more. See ru.stackoverflow.com/questions/833980/… By proxy - what is the count variable for, how is it announced? by name - this is how the int counter appears ... - Harry

0