Libcurl can be used to send HTTP requests, which are common libraries for C/E + + send HTTP requestsDownload Libcurl Source Package:Libcurl:https://curl.haxx.se/download.htmlUnzip toC:\source\repos\libcurl\curl-7.60.0Open the Curl folder and run
The main function of Libcurl is to connect and communicate different servers with different protocols-that is, the sockphp support Libcurl (which allows you to connect and communicate with different servers in different protocols). , Libcurl
1. Download and install
Download libcurl -- http://curl.haxx.se/dlwiz/
Tortoise SVN has libsasl Library
2. Set Windows Environment Variables
Libcurl_root -- libcurl storage path, such as E:/opensdk/libcurl-7.19.3
3. Set vs project
Finally understand the compilation of the Libcurl library, write down to avoid forgetting.: libcurl Library: Http://curl.haxx.se/latest.cgi?curl=zip openssl installation package: http://slproweb.com/products/ win32openssl.html NOTE: This after
Libcurl main function is to use different protocols to connect and communicate with different servers, if using HTTPS, the need for OpenSSL
Libcurl https://curl.haxx.se/download.html Download the source archives
ActiveState
Scene:1. When programming in Windows, the download HTTP page (Html,xml) can use the WinHTTP library, but it does not download the file very well because it will fail. This leads to the WinInet library, but the stability of this library is relatively
In fact, libcurl has binding in many languages. I prefer C ++, but since curlpp is too troublesome, I directly use libcurl in C language.
> Build OpenSSL
Download OpenSSL from www.openssl.org and install the Perl Environment
1> perl Configure VC-WIN3
a preparation1.1 Curl official Website Download address: http://curl.haxx.se/download.html1.2 Find the source package, the latest version of the official website is 7. 0, but the curl-7.54.0\projects\windows path of this compression package Vc6-vc14
Because the online download of Libcurl does not support gzip, had to build their own, during a lot of detours, the following is the final record of success.The environment I am using Visual Studio 2010, Windows 71 Downloading files1.1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.