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

Kah-Chan Low kahchanlow at yahoo.com
Thu Oct 18 18:55:26 CEST 2012


Hi,
When I do this I will get a "connection refused" error:

socket1.connect("inproc://abc");
socket2.bind("inproc://abc");

When I reverse the order of the statements everything works fine.
Both sockets have been created with the same ZMQ context.

Is this a feature or a bug?

Thanks!
KC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121018/3436edb0/attachment.htm>


More information about the zeromq-dev mailing list