[zeromq-dev] Ingesting external data via TCP with 0MQ
Mikko Koppanen
mikko.koppanen at gmail.com
Wed Dec 21 16:12:35 CET 2011
On Wed, Dec 21, 2011 at 4:27 PM, Pieter Hintjens <ph at imatix.com> wrote:
> On Tue, Dec 20, 2011 at 3:56 PM, Ryan Richins <richinsr at mac.com> wrote:
>
>> How can I integrate ØMQ sockets with normal sockets? Or with a GUI event
>> loop?
>
> As Matias points out, a single zmq_poll loop
> will work with both native sockets and 0MQ sockets.
You can also integrate zeromq into external event loop by using the
ZMQ_FD socket option and using the returned fd for polling purposes.
--
Mikko Koppanen
More information about the zeromq-dev
mailing list