[zeromq-dev] zhttp example?
Doron Somech
somdoron at gmail.com
Thu Apr 11 13:39:06 CEST 2019
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> 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
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190411/f9f1ed45/attachment.htm>
More information about the zeromq-dev
mailing list