[zeromq-dev] zhttp example?

Arnaud Loonstra arnaud at sphaero.org
Thu May 2 16:06:21 CEST 2019


Hey Doron,

Thanks for that. That's a really helpful reference!

Rg,

Arnaud

On 4/11/19 1:39 PM, Doron Somech wrote:
> Hey Arnaud,
> 
> It is a recent addition to czmq. I'm using it in this project: 
> https://github.com/mqless/mqless/blob/master/src/mql_server.c.
> We also have zhttp_client, and you use zhttp_request and zhttp_response 
> with both the client and server.
> 
> Regarding the select, microhttpd support either epoll or select. I 
> started with select as it is cross-platform, but the plan is to use 
> epoll on linux eventually.
> 
> 
> On Tue, Apr 2, 2019 at 2:36 PM Arnaud Loonstra <arnaud at sphaero.org 
> <mailto:arnaud at sphaero.org>> wrote:
> 
>     He guys,
> 
>     Are there any references for using zhttp? Other then selftest?
> 
>     Out of curiosity why is zhttp using select instead of poll?
> 
>     https://github.com/zeromq/czmq/blob/master/src/zhttp_server.c#L415
> 
>     Rg,
> 
>     Arnaud
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 



More information about the zeromq-dev mailing list