[zeromq-dev] Lost message with PUSH/PULL

王运来 hnwyllmm at 126.com
Thu Jun 30 10:32:44 CEST 2016


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160630/94501666/attachment.htm>


More information about the zeromq-dev mailing list