I would not rely on this. Query ZMQ_EVENTS after every send no matter what.
On Mon, May 23, 2016, at 02:23 AM, Huttunen, Kalle (GE Healthcare) wrote: > It seems that sending on the socket makes the ZMQ_FD readable. That in > turn triggers the calling of the code where I check ZMQ_EVENTS and > receive everything from the socket. This way I end up checking ZMQ_EVENTS > after each send. > > Is the ZMQ_FD becoming readable when sending on the socket something that > can be relied on? > > -- > Kalle Huttunen > _______________________________________________ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev