体驗可靠的711Proxy住宅代理以避免限制
1億+IP地址
自由地理定位
99.7%成功率
無限制訪問
住宅代理是由互聯網服務商(ISP)提供的真實IPv4/IPv6地址的代理網絡,這些高匿原生家庭代理IP來自於全球各個國家和地區,能夠確保您在請求網絡時被識別為真實用戶。
#include "stdafx.h"
#include "curl/curl.h"
#pragma comment(lib, "libcurl.lib")
static size_t write_buff_data(char *buffer, size_t size, size_t nitems, void *outstream)
{
memcpy(outstream, buffer, nitems * size);
return nitems * size;
}
int GetUrlHTTP(char *url, char *buff)
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if (curl)
{
// api http
curl_easy_setopt(curl, CURLOPT_PROXY, "http://156.229.21.94:10000");
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)buff);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_buff_data);
curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L);
curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 50L);
curl_easy_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, 2000000L);
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
if (res == CURLE_OK)
{
return res;
}
else
{
printf("%d", res);
}
}
return res;
}
int GetUrlSocks5(char *url, char *buff)
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if (curl)
{
// api socks5
curl_easy_setopt(curl, CURLOPT_PROXY, "socks5://156.229.21.94:10000");
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)buff);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_buff_data);
curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L);
curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 50L);
curl_easy_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, 2000000L);
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
if (res == CURLE_OK)
{
return res;
}
else
{
printf("%d", res);
}
}
return res;
}
int main()
{
char *buff = (char *)malloc(1024 * 1024);
memset(buff, 0, 1024 * 1024);
GetUrlHTTP("http://ipinfo.io/json", buff);
printf("response: %s", buff);
memset(buff, 0, 1024 * 1024);
GetUrlSocks5("http://ipinfo.io/json", buff);
printf("response: %s", buff);
free(buff);
Sleep(10 * 1000);
return 0;
}
美国
4,834,617 IPs
英国
4,675,241 IPs
法国
2,680,145 IPs
加拿大
3,978,489 IPs
澳大利亚
1,516,840 IPs
新加坡
1,865,497 IPs
德國
1,807,961 IPs
西班牙
3,263,209 IPs
巴西
4,097,520 IPs
墨西哥
3,571,624 IPs
日本
1,241,580 IPs
$0.02/IP
我们的优质代理服务成为客戶的首选。
什麼是住宅代理?
使用住宅代理有哪些好處?
我需要多少個住宅代理?
住宅代理如何工作?
我可以在哪裏獲得免費的住宅代理?
購買住宅代理之前需要考慮什麼?
住宅代理安全嗎?
我可以獲得 SOCKS5 住宅代理嗎?