Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curl_multi_add_handle(3) [debian 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

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Easiest and best scripting book ?

Hello, I am in need of a easy to read and easy to understand, Unix scripting book. Can anyone make any recommendations ? thanks in advance simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies

2. UNIX for Dummies Questions & Answers

easy peesy

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

3. Shell Programming and Scripting

Getting a random file

Hello, I am very new to shell scripting. This problem seems quite easy so it should be quite easy (I hope ^^) I want to get a random file from a directory. this file will be in one subdirectory, and it will contain spaces. code I have got so far: N=find ./*/*.jpg | wc -l ((N=RANDOM%N)) ... (6 Replies)
Discussion started by: davidY
6 Replies

4. 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

5. Shell Programming and Scripting

Help with this easy problem

hi people. i need assist in this quite easy problem. i have a text as: cell112-1/2/3/4/5/6 4 cell156-1/2/3/4 7 cell197-1/2/3 6 cell215-1/2/3/4/5/6 9 cell235-1/2/3 5 cell354-1/2/3/4/5 8 cell355-1 4 ... cell446-1/2/3/4/5/6 5 the script should check second coloumn in each line and ... (21 Replies)
Discussion started by: gc_sw
21 Replies

6. 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

7. 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

8. UNIX for Beginners Questions & Answers

Multi-Queue virtio-net Functionality in Linux

It seems that multi queue virtio functionality is enabled in the Redhat System being used, but I need to confirm if this functionality is working appropriately: cat /usr/include/linux/virtio_net.hstruct virtio_net_config { /* The config defining mac address (if VIRTIO_NET_F_MAC) */ __u8 mac;... (2 Replies)
Discussion started by: Paras Pandey
2 Replies

9. UNIX for Beginners Questions & Answers

Does UNIX support multi-Threading ?

Not just background process running ... but im looking if unix has any multi-threading concept like in Java, C# ... if not present, can you pls share the nearest feature in unix that is close to multi-threaded concept (3 Replies)
Discussion started by: i4ismail
3 Replies