[zeromq-dev] inproc: If first connect occurs before bind, then retries don't seem to succeed...

Pieter Hintjens ph at imatix.com
Thu Dec 20 22:33:50 CET 2012

On Wed, Dec 19, 2012 at 1:40 PM, Andy Ballingall TF
<ballingall at thefoundry.co.uk> wrote:

> I've been following the discussions about needing to call
> zsocket_bind() before zsocket_connect(). In one discussion, it was
> suggested that in an asynchronous system where you're not able to
> guarantee order, you could retry the connect until it succeeds:

For inproc connect works synchronously and requires that bind has
happened already. See http://api.zeromq.org/3-2:zmq-inproc#toc4

It's not consistent with tcp:// and ipc:// but it does work in most cases.


More information about the zeromq-dev mailing list