Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
curl_multi_socket(3) | libcurl | curl_multi_socket(3) |
NAME
curl_multi_socket - reads/writes available dataSYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t sockfd,
int *running_handles);
CURLMcode curl_multi_socket_all(CURLM *multi_handle,
int *running_handles);
DESCRIPTION
These functions are deprecated. Do not use. See curl_multi_socket_action(3) instead.EXAMPLE
int main(void)
{
/* the event-library gets told when there activity on the socket 'fd',
which we translate to a call to curl_multi_socket_action() */
int running;
int rc;
int fd;
CURLM *multi;
rc = curl_multi_socket(multi, fd, &running);
}
AVAILABILITY
This function was added in libcurl 7.15.4, and is deemed stable since 7.16.0.RETURN VALUE
CURLMcode type, general libcurl multi interface error code.SEE ALSO
curl_multi_cleanup(3), curl_multi_init(3), curl_multi_fdset(3), curl_multi_info_read(3), thehiperfifo.cexampleDecember 4, 2023 | libcurl 8.5.0 |