[zeromq-dev] REQ-REP pattern: client (REQ) started before server (REP) (java binding)

Christian Gudrian christian at gudrian.org
Thu Oct 7 10:28:41 CEST 2010


Am 05.10.2010 14:30, schrieb Pieter Hintjens:

> (Best to also verify the C version to
> know whether it's a problem in the Java binding or 0MQ).

I can verify this issue with C/C++.  If the client is started before the 
server (and socket_t::connect() got called), 
zmq_connector_t::start_connecting() gets called only twice: once 
immediately after socket_t::connect() got called and once after a 
timeout period.  No further attempt to reconnect is being made which is 
the reason for the client to hang.

Environment: Windows 7, C++Builder 2010

Christian



More information about the zeromq-dev mailing list