[zeromq-dev] Upstream/Downstream simple example

Martin Sustrik sustrik at 250bpm.com
Wed Jun 9 08:29:18 CEST 2010


Dana,

> Does anyone have a simple example of the upstream/downstream sockets? 
> I've looked at the butterfly example but its got a lot of meat to it 
> (also I think the code and tutorial are out of sync). I just want to see 
> how to have two objects (A and B), each with an upstream socket and 
> downstream socket, pass data from A to B, B processes, then B to A. Via 
> IPC if possible.

Have you looked at cppbutterfly example?

http://github.com/sustrik/cppbutterfly

It's pretty short AFAICS.

Martin



More information about the zeromq-dev mailing list