On Wed, Apr 10, 2013 at 8:17 PM, Niels Berglund <[email protected]> wrote:
> So, once again - am I completely "off the wall" trying to achieve this, if I > am - what is the 0MQ way to do it, if not - again - what is the 0MQ way to > do it? The 0MQ way is to stop trying to fit 0MQ into your existing conceptions of how messaging works. That will not work, it never does. Your questions show that you've missing how 0MQ works, in terms of driving your architecture. Threads do not share sockets, period. A thread should act on messages, with a poll as its core. All the bigger examples work like this. Please, step back from your code, read the Guide and more importantly, work through the examples, at least in Ch1 and Ch2. Allow for a few days for the ideas to sink into your brain, and then restart your application design. -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
