You should poll the socket and only receive when there is input.
On Fri, Nov 13, 2015 at 2:06 PM, Bruce Lane <[email protected]> wrote: > hi, > I'm building this block https://github.com/brucelane/Cinder-ZeroMQ for the > Cinder C++ framework. > > what is the way to use a zeroMQ responder without the execution paused at > zmq_recv (responder, buffer, 10, 0)? > Shall I use a separate thread or there is another way, like something else > than a responder? > > Bruce > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
