The latest API documentation does suggest that messages are NOT discarded. It would probably help everybody if you could provide the code (or at least recreate your problem with a simpler example). Creating a simple example might even lead you to discover what is going wrong. So it is definitely well worth the effort!
On 30 June 2016 at 10:32, 王运来 <hnwyl...@126.com> wrote: > Hi every guys: > I got a problem which ZMQ will lost some messages with PUSH/PULL > ZMQ socket. > The scene like this: > A: PUSH socket, bind address "tcp://*.1209" > B: PULL socket, connect to "tcp://localhost:1209" > > Run the command "telnet localhost 1209" while A sending message to > B. > > The result is B will miss messages even if I set the option > of ZMQ_IMMEDIATE to 1 like this: > int immediate = 1; > zmq_setsockopt(pSock, ZMQ_IMMEDIATE, &immediate, sizeof(immediate)); > > Is it right in this scene or is it should be? > > > > > _______________________________________________ > 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