Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用curl\u multi\u setopt(CURLM*句柄、CURLMOPT\u SOCKETFUNCTION、socket\u回调)_C_Linux_Libcurl - Fatal编程技术网

如何使用curl\u multi\u setopt(CURLM*句柄、CURLMOPT\u SOCKETFUNCTION、socket\u回调)

如何使用curl\u multi\u setopt(CURLM*句柄、CURLMOPT\u SOCKETFUNCTION、socket\u回调),c,linux,libcurl,C,Linux,Libcurl,我看到curl\u multi\u setopt(CURLM*句柄、CURLMOPT\u SOCKETFUNCTION、socket\u回调)在libcurl主页中 我看到了有关socket\u回调的信息 int socket_callback(CURL *easy, /* easy handle */ curl_socket_t s, /* socket */ int what, /* de

我看到
curl\u multi\u setopt(CURLM*句柄、CURLMOPT\u SOCKETFUNCTION、socket\u回调)在libcurl主页中

我看到了有关
socket\u回调的信息

int socket_callback(CURL *easy,      /* easy handle */
                    curl_socket_t s, /* socket */
                    int what,        /* describes the socket */
                    void *userp,     /* private callback pointer */
                    void *socketp);  /* private socket pointer */

libcurl中的变量
curl\u socket\t
在哪里?文档中没有提到它。

那么您在这里遗漏了什么?还有@marcolz,它没有提到卷发从哪里来。这就是为什么我如此困惑。卷曲的目的是什么?