No, you cannot drop older messages in pipe buffers to make space for newer ones. This is technically impossible without slowing things down considerably.
A good approach is to use credit-based flow control to avoid ever sending more data than the receiver expects and asks for. There's a discussion of this in the Guide and examples. On Thu, Mar 24, 2016 at 7:08 PM, <[email protected]> wrote: > Hello all: > > When high water mark has been reached with socket ROUTER, the newest > message will droped. > > Can I change this behaviour, but drop the first buffered message? > > If can not, how can I reach this goal? > > thanks, > > Linkman 2016/3/25 > > > _______________________________________________ > 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
