[zeromq-dev] zmq_unbind fails on inproc?
Charles Remes
lists at chuckremes.com
Mon Feb 18 23:57:13 CET 2013
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
More information about the zeromq-dev
mailing list