Martin, > Anyway, the principle holds. Use ZMQ_UPSTREAM socket to get messages > from the previous object, use ZMQ_DOWNSTREAM to send them further on.
I think the docs for ZMQ_UPSTREAM and ZMQ_DOWNSTREAM may have a typo that is confusing: For *both* ZMQ_UPSTREAM and ZMQ_DOWNSTREAM say that "Send function is not implemented for this socket type." Doesn't one of these need to have recv? Cheers, Brian Socket to receive messages from up the stream. Messages are fair-queued from among all the connected peers. Send function is not implemented for this socket type. Compatible peer sockets: ZMQ_DOWNSTREAM. ZMQ_DOWNSTREAM Socket to send messages down stream. Messages are load-balanced among all the connected peers. Send function is not implemented for this socket type. Compatible peer sockets: ZMQ_UPSTREAM. -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo bgran...@calpoly.edu elliso...@gmail.com _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev