CurlcodeAlmost all ' easy ' interface functions return a curlcode error code. No matter what, using the curl_easy_setopt option Curlopt_errorbuffer was a good idea as it would give you a human readable Error string that could offer more details
A few days ago, curllib was used in the project, so a source code package was compiled. There were some minor problems in the compilation process. Here, I will share with you the methods for compiling and using this library:
First, go to http://curl.
As for my problem, the returned value of curl_errno () is 6. based on the above data query, we know that the reason is Couldn 'tresolvehost. thegivenremotehostwasnotresolved. this is the cause of "failed host resolution". now, I know how to solve
Curl Status Code List
Status code
Status Reason
Explain
0
Normal access
1
Wrong protocol.
Unsupported protocol. This version of Curl does not support this agreement.
2
CURL status code list
Status Code
Status reason
Explanation
0
Normal access
1
Incorrect Protocol
Unsupported protocol. This version of cURL does not support this protocol.
2
Initialization
This article provides a detailed analysis of the CURL status code list. For more information, see
CURL status code list
Status Code
Status reason
Explanation
0
Normal access
1
Incorrect protocol
First, Samba and NFS, FTP
Before you know about the Samba service, you need to know about the CIFS protocol (Common Internet File System), which was the first of a Microsoft deal. The CIFS protocol is the first to implement file sharing and print
View open files to learn more about the system. You can understand which files an application opens or which application opens a specific file as a system administrator. This allows you to make better decisions. For example, you should not Uninstall
LAMP platform deployment and lamp deploymentLAMP platform Overview
LAMP environment script deployment: https://github.com/spdir/ShellScripts/tree/master/lamp
Introduction to LAMP: Baidu encyclopedia
Components of the LAMP platform:
Linux operating
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.