cURL with multi interface for many connections with proxy
问题 I need to check many proxies from list against one website. I decided to use libcurl to do this. I used this example and modified it according to my needs. Here is my code: #include <cstdio> #include <cstring> #include <fstream> #include <string> #include <iostream> #include <curl/curl.h> /* somewhat unix-specific */ #include <sys/time.h> #include <unistd.h> using namespace std; CURL * handles [100]; CURL * createProxyHandle (string proxyData){ CURL * handle = curl_easy_init (); curl_slist *