Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
curl_multi_socket(3) | libcurl Manual | 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
/* 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;
rc = curl_multi_socket(multi_handle, 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), the hiperfifo.c exampleMay 17, 2022 | libcurl 7.84.0 |