Sortix 1.1dev ports manual
This manual documents Sortix 1.1dev ports. You can instead view this document in the latest official manual.
curl_multi_assign(3) | libcurl Manual | curl_multi_assign(3) |
NAME
curl_multi_assign - set data to associate with an internal socketSYNOPSIS
#include <curl/curl.h>void *sockptr);
DESCRIPTION
This function creates an association in the multi handle between the given socket and a private pointer of the application. This is designed for curl_multi_socket_action(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_action(3) approach.AVAILABILITY
This function was added in libcurl 7.15.5.SEE ALSO
curl_multi_setopt(3), curl_multi_socket_action(3)February 3, 2016 | libcurl 7.69.0 |