[zeromq-dev] inproc: need to bind to an address before connect?

Ian Barber ian.barber at gmail.com
Fri Oct 19 05:40:48 CEST 2012

On Thu, Oct 18, 2012 at 3:45 PM, Chuck Remes <lists at chuckremes.com> wrote:

> No, it is not guaranteed that socket3 will be ready for a connection. All
> binds (and connects) happen asynchronously in the I/O thread. Depending on
> your machine performance, it could be ready in 10ms, 100ms or more.
Actually, in the inproc only case you can run with 0 IO threads, so the
specific example should be safe. I would be inclined to implement a
solution as you suggested to make it more transparent in case I ever
switched transports though.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121018/b6fbd6eb/attachment.htm>

More information about the zeromq-dev mailing list