Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curl_multi_add_handle(3) [minix man page]

curl_multi_add_handle(3)					  libcurl Manual					  curl_multi_add_handle(3)

NAME
curl_multi_add_handle - add an easy handle to a multi session SYNOPSIS
#include <curl/curl.h> CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle); DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle. Further- more, libcurl now initiates the connection associated with the specified easy_handle. When an easy handle has been added to a multi stack, you can not and you must not use curl_easy_perform(3) on that handle! If the easy handle is not set to use a shared (CURLOPT_SHARE) or global DNS cache (CURLOPT_DNS_USE_GLOBAL_CACHE), it will be made to use the DNS cache that is shared between all easy handles within the multi handle when curl_multi_add_handle(3) is called. The easy handle will remain added until you remove it again with curl_multi_remove_handle(3). You should remove the easy handle from the multi stack before you terminate first the easy handle and then the multi handle: 1 - curl_multi_remove_handle(3) 2 - curl_easy_cleanup(3) 3 - curl_multi_cleanup(3) RETURN VALUE
CURLMcode type, general libcurl multi interface error code. SEE ALSO
curl_multi_cleanup(3),curl_multi_init(3) libcurl 7.9.5 4 March 2002 curl_multi_add_handle(3)

Check Out this Related Man Page

curl_multi_add_handle(3)					  libcurl Manual					  curl_multi_add_handle(3)

NAME
curl_multi_add_handle - add an easy handle to a multi session SYNOPSIS
#include <curl/curl.h> CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle); DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle. Further- more, libcurl now initiates the connection associated with the specified easy_handle. When an easy handle has been added to a multi stack, you can not and you must not use curl_easy_perform(3) on that handle! If the easy handle is not set to use a shared (CURLOPT_SHARE) or global DNS cache (CURLOPT_DNS_USE_GLOBAL_CACHE), it will be made to use the DNS cache that is shared between all easy handles within the multi handle when curl_multi_add_handle(3) is called. The easy handle will remain added until you remove it again with curl_multi_remove_handle(3). You should remove the easy handle from the multi stack before you terminate first the easy handle and then the multi handle: 1 - curl_multi_remove_handle(3) 2 - curl_easy_cleanup(3) 3 - curl_multi_cleanup(3) RETURN VALUE
CURLMcode type, general libcurl multi interface error code. SEE ALSO
curl_multi_cleanup(3),curl_multi_init(3) libcurl 7.9.5 4 March 2002 curl_multi_add_handle(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

easy peesy

What does ls & do? (2 Replies)
Discussion started by: vcardo10
2 Replies

2. Programming

Linux g++ 2.95.3 exception handling

Anybody happen to be familiar with any deficiencies with g++ 2.95.3 regarding exception handling, specifically in multi-threaded / multi-module (shared library) based applications? I'm seeing behavior where thrown exceptions are not caught, but basically ignored causing the application to... (0 Replies)
Discussion started by: earl
0 Replies

3. Programming

libcurl multi interface problem

Hello, I'm trying to use libcurl multi interface to fetch several data in parallel. I would expect this to be faster than performing repeated fetches using the easy interface, but for some reason I can't obtain any speed up at all: using the multi interface actually turns out to be MUCH slower than... (2 Replies)
Discussion started by: clalfa
2 Replies

4. Shell Programming and Scripting

Extract values from multi lined url source

Hello, I want extract multi values from multi url source to a csv text. Thank you very much for help. my curl code : curl "http://www.web.com/cities//city.html Source code: div class="clear"></div> <table class="listing-details"> <tr> ... (1 Reply)
Discussion started by: hoo
1 Replies

5. Shell Programming and Scripting

Quick and easy way to comment out multi lined print statements

Is there a quick and easy way to comment out multi lined print statements? something like this? printf("3408 strings_line_tokens %s \n", strings_line_tokens); (6 Replies)
Discussion started by: cokedude
6 Replies