[zeromq-dev] Is there any to poll 0MQ and tcp sock together?

Pieter Hintjens ph at imatix.com
Fri Jun 17 20:42:03 CEST 2011


On Fri, Jun 17, 2011 at 8:35 PM, Min <miniway at gmail.com> wrote:

> So, is there any way something like a super poll can get event from both
> zmq_socket and tcp_socket ?

Yes, zmq_poll items are either a 0MQ socket or a native file handle.
Check the zmq_poll man page for details.

-Pieter



More information about the zeromq-dev mailing list