[zeromq-dev] ZeroMQ + InetD = Why can't we all just get along.

Pieter Hintjens ph at imatix.com
Fri Nov 9 06:42:38 CET 2012

On Fri, Nov 9, 2012 at 6:38 AM, Shane Spencer <shane at bogomip.com> wrote:

>  One of my personal project goals is to spin up workers via InetD
> by simply connecting to them.  I understand I can use daemontools to
> approach this in a more structured way.

Sounds fun and doable.

> Once a worker spins up, in my situation, they will be immediately told
> initial information.  This can be done via STDIN and using standard
> sockets easily enough, but I'd love to simply bind to FD 0 and skip
> using sockets all together for that initial connection.

So you want to use 0MQ to read from stdin? Seems overkill since it's
literally one fread() call.

Not even sure why you'd use sockets for that.


More information about the zeromq-dev mailing list