In general you can use zmq_poll to know when a socket is ready for output, in the same way as for input (which is why we rarely use non-blocking recv either).
You can also do a zframe_send (... ZFRAME_DONTWAIT) but I've never used that... On Wed, Apr 23, 2014 at 4:56 PM, Stefan Kaes <[email protected]> wrote: > Hi, > > I’m wondering why CZMQ doesn’t have a function for nonblocking message > sending. > > Was it this left out on purpose, or did nobody feel the need for it, yet? > > I could make use of it in an app I’m working on. > > Of course I can work around it, but I think it might be useful in general. > > cheers > — stefan > > > _______________________________________________ > 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
