On Tue, May 14, 2013 at 10:26:20AM +0800, Fam Zheng wrote:
> We use socket provided by curl in the driver. Libcurl multi interface
> has option CURLMOPT_SOCKETFUNCTION for socket.
>
> Per man 3 curl_multi_setopt:
>
> ...
> CURLMOPT_SOCKETFUNCTION
>
> Pass a pointer to a function mat
We use socket provided by curl in the driver. Libcurl multi interface
has option CURLMOPT_SOCKETFUNCTION for socket.
Per man 3 curl_multi_setopt:
...
CURLMOPT_SOCKETFUNCTION
Pass a pointer to a function matching the curl_socket_callback
prototype. The curl_multi_socket_action(3)