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

Martin Sustrik sustrik at 250bpm.com
Wed Nov 17 11:32:00 CET 2010


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



More information about the zeromq-dev mailing list