[zeromq-dev] zmq_unbind fails on inproc?

Pieter Hintjens ph at imatix.com
Tue Feb 19 07:39:53 CET 2013


I can confirm this fails on Linux in C. The sleep is irrelevant since
connect/bind on inproc happen immediately.

-Pieter

On Mon, Feb 18, 2013 at 11:57 PM, Charles Remes <lists at chuckremes.com> wrote:
> libzmq: 3.2.2
> OS: OSX 10.8.2
>
> I'd appreciate it if someone else could confirm that calling zmq_unbind on an inproc transport always fails (it works for tpc and ipc without fail). It doesn't matter what socket type is under test, nor does it matter if you "sleep" to give the io thread time to complete the zmq_bind call.
>
> rc = LibZMQ.zmq_bind(socket, "inproc://some_address");
> assert(rc == 0);
>
> rc = LibZMQ.zmq_unbind(@socket, "inproc://some_address");
> assert(rc == 0); // zmq_errno returns ENOENT on OSX
>
> If someone else can confirm this, I'll open a ticket. If I am doing some stupidly wrong, let me know that too. :)
>
> Thanks!
>
> cr
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list