[zeromq-dev] Lost message with PUSH/PULL
Dermot Doran
dppdoran at gmail.com
Thu Jun 30 11:38:09 CEST 2016
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, 王运来 <hnwyllmm at 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 at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160630/eedf7eae/attachment.htm>
More information about the zeromq-dev
mailing list