[zeromq-dev] How to detect if a remote socket has closed

Pieter Hintjens ph at imatix.com
Tue Aug 17 15:13:01 CEST 2010


On Tue, Aug 17, 2010 at 3:07 PM,  <David.Briant at ubs.com> wrote:
> chrs. Newbie Q. A DEVICE is a ZMQ concept right? presumable implemented in
> C/C++?

Please read the user guide links I sent, it's explained in detail.
The broker example I sent (one page of code) is a device.

> I’m used to doing all the application stuff (heartbeats, resource discovery)
> over the one channel rather than needing to have several sockets to get the
> overall functionality.

0MQ encourages you to untangle different flows.  That lets you solve
them more easily.

> I thought about re-implementing it but came across zmq that I am still
> hoping will provide all the bits and bobs.

Ironically, it seems rare that people understand what 0MQ really
provides until they've used it for some work.  I'm trying to make this
learning process easier with the user guide and lots of examples.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list