Andew, > just to be sure, though, will zeromq handle the contents correctly > when it provided them? as in > > zmq_recv(isock, &msg, 0) > zmq_msg_copy(&msg1, &msg); > zmq_send(sock1, &msg); > zmq_send(sock2, &msg1); > zmq_msg_close(&msg); > zmq_msg_close(&msg1); Yes. That's correct. Martin