curl / Mailing Lists / curl-library / Single Mail


Re: Using multi-socket facility with epoll

From: doa379 via curl-library <>
Date: Sun, 14 Oct 2018 13:25:33 +0100

> What am I trying:
> I am writing a simple http client, and Im basing it on the multi-socket set of apis.
> I am using epoll as the main reactor (event loop).
> My code is *very* similar to the example in: <>.
> The issue:
> I am not getting any of the callbacks (timer, socket change etc).
> Questions:
> 1. Are there any know issues that are, maybe, missing in the above example?
> 2. Are there open bugs for the above versions of tools and systems, and this particular flow?
> Thanks,
> Eran

This example works. In this example those callbacks are imperative. The
example can't work without those callbacks.

Received on 2018-10-14