[zeromq-dev] how to integrate zmq to normal epoll web server

technical issue techweb2k at gmail.com
Wed Nov 17 12:03:54 CET 2010

Dear Martin,
I have checked the code zmq.cpp in version 2.0.9 and 2.0.10 but I did not
find any line called getsockopt and ZMQ_FD.
I just found the code they call system poll not epoll.
Is there anything wrong?

On Wed, Nov 17, 2010 at 5:34 PM, technical issue <techweb2k at gmail.com>wrote:

> Thanks,
> I will check it.
> On Wed, Nov 17, 2010 at 5:32 PM, Martin Sustrik <sustrik at 250bpm.com>wrote:
>> On 11/17/2010 11:30 AM, technical issue wrote:
>>> Thank for your quick reply.
>>> I have read the code of Mongrel2 but It's very hard to understand the
>>> Super-Poll mechanism they used.
>>> Would you like to give me a small example about using
>>> getsockopt(ZMQ_FD) with example.
>> Check zmq_poll implementation in src/zmq.cpp. It uses ZMQ_FD underneath.
>> Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101117/783f50c5/attachment.htm>

More information about the zeromq-dev mailing list