On Sat, Sep 11, 2010 at 2:03 PM, Ilja Golshtein <[email protected]> wrote: > Hello! > > Please, clarify if it is expected messages are sent via PUSH socket over TCP > [most likely] are not going to be delivered if close socket right after send.
In 0MQ/2.0.x the close function kills buffers and causes loss of any messages in transit. This is why all the examples in the user guide do sleep(1) before exit. The main change in 0MQ/2.1 will be to properly flush outgoing messages at socket close and/or context termination. -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
