[zeromq-dev] inproc: message dropped after ZMQ dealer connected

Kah-Chan Low kahchanlow at yahoo.com
Wed Apr 3 03:13:12 CEST 2013


Hello
I am using inproc and I have a router and dealer pair.  I bind to router to the inproc net address first and have the dealer connect to the net address. The dealer was not previously not connected to any zmq socket -- this is its first connection. I immediately send a message from the dealer right after the dealer has made the zmq_connect() call.  Now I have a bunch of dealers each getting created, connect to that one router for some time and then get destructed.  Once in a while I would get a dealer that somehow managed to lose the first message it sent right after it has made its (first) connection to the router -- the router simply failed to receive the message.  My question: for inproc is zmq_connect() asynchronous?  Is it possible that the connection may not be ready to transmit messages right after zmq_connect() returns successfully?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130402/8578d6fc/attachment.htm>


More information about the zeromq-dev mailing list