curl / Mailing Lists / curl-library / Single Mail

curl-library

functionality of sockfd of curl_multi_socket_action

From: Pahome Chen via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 5 May 2017 17:09:01 +0800

I read the document:
https://curl.haxx.se/libcurl/c/curl_multi_socket_action.html

It's function is:

curl_multi_socket_action(CURLM * multi_handle,
                         *curl_socket_t sockfd*,
                         int ev_bitmask,
                         int *running_handles);

It always said that we can set to the socket *sockfd *with *action*, it
doesn't mentioned what's the functionality of *sockfd *in the function.That
makes me confused.

the arguments *sockfd *is for libcurl to communicate with the user
specified url?

-- 
Best Regards,
pahome

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-05-05