Hi,

I'm dealing with the pub-sub "slow joiner" problem.  As I understand it,
the problem arises, in part, because connections are asynchronous and
zmq_connect() returns before the connection is actually established.

I hooked up a monitor and wait until the monitor indicates the socket is
in the CONNECTED state before publishing.  However, even with the socket
in the CONNECTED state, the first few messages are usually lost.

Does ZMQ_EVENT_CONNECTED actually mean that the connection is fully
established and ready for pubs?  Or something lesser?

Thanks,
Scott

P.S. Sorry if I'm just re-asking this question:
http://grokbase.com/t/zeromq/zeromq-dev/151enr4dae/zmq-event-connected-and-
router-socket.  Not sure if pub-sub is sufficiently different than
router-router change the meaning of ZMQ_EVENT_CONNECTED.

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to