Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
curl_multi_socket(3) | Library Functions Manual | curl_multi_socket(3) |
NAME
curl_multi_socket - read/write available dataSYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t sockfd,
int *running_handles);
DESCRIPTION
This function is deprecated. Do not use. See curl_multi_socket_action(3) instead.PROTOCOLS
This functionality affects all supported protocolsEXAMPLE
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);
}
DEPRECATED
curl_multi_socket(3) is deprecated, use curl_multi_socket_action(3) instead!AVAILABILITY
Added in curl 7.15.4RETURN VALUE
CURLMcode type, general libcurl multi interface error code.SEE ALSO
curl_multi_cleanup(3), curl_multi_fdset(3), curl_multi_info_read(3), curl_multi_init(3), thehiperfifo.cexample2024-11-21 | libcurl |