Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: curl_multi_timeout and the multi_socket API
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 2 Apr 2021 23:12:31 +0200 (CEST)
On Fri, 2 Apr 2021, Henrik Holst wrote:
>> If you use poll() then the multi socket API is probably the wrong choice.
>> The multi socket API is for event-based handling.
>>
> Okey, but the very same thing happens with epoll, or are we only defining
> event-based handling as say libevent, libev and libuv?
What "very same thing" is it that happens? What do you do with the timeout
value curl_multi_timeout returns in an event-based system?
Date: Fri, 2 Apr 2021 23:12:31 +0200 (CEST)
On Fri, 2 Apr 2021, Henrik Holst wrote:
>> If you use poll() then the multi socket API is probably the wrong choice.
>> The multi socket API is for event-based handling.
>>
> Okey, but the very same thing happens with epoll, or are we only defining
> event-based handling as say libevent, libev and libuv?
What "very same thing" is it that happens? What do you do with the timeout
value curl_multi_timeout returns in an event-based system?
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2021-04-02