[zeromq-dev] zclock_sleep in "connect" in Freelance client API
ph at imatix.com
Tue Feb 7 13:49:18 CET 2012
On Tue, Feb 7, 2012 at 4:18 AM, Matias GUIJARRO <matias.guijarro at esrf.fr> wrote:
> In the FLP example from The Guide, there is a "zclock_sleep(100)" in
> function flcliapi_connect, in order to allow connection to come up.
It's not great. Martin has an experimental design for a GENERIC socket
that issues events when peers arrive and leave, which is the right
solution to this problem.
Maybe someone wants to try backporting that to the 3.1 branch. It
would be really awesome. (Just don't call it ROUTER pretty please).
More information about the zeromq-dev