table of contents
conflicting packages
curl_multi_assign(3) | libcurl Manual | curl_multi_assign(3) |
NAME¶
curl_multi_assign - set data to association with an internal socketSYNOPSIS¶
#include <curl/curl.h>void *sockptr);
DESCRIPTION¶
This function assigns an association in the multi handle between the given socket and a private pointer of the application. This is (only) useful for curl_multi_socket(3) uses.RETURN VALUE¶
The standard CURLMcode for multi interface error codes.TYPICAL USAGE¶
In a typical application you allocate a struct or at least use some kind of semi-dynamic data for each socket that we must wait for action on when using the curl_multi_socket(3) approach.AVAILABILITY¶
This function was added in libcurl 7.15.5, although not deemed stable yet.SEE ALSO¶
curl_multi_setopt(3), curl_multi_socket(3)9 Jul 2006 | libcurl 7.16.0 |