[zeromq-dev] zmq_unbind fails on inproc?

Charles Remes lists at chuckremes.com
Tue Feb 19 00:00:01 CET 2013

On Feb 18, 2013, at 4: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.

Oops, let me fix some obvious problems in the pseudo-code.

rc = zmq_bind(socket, "inproc://some_address");
assert(rc == 0);

rc = zmq_unbind(socket, "inproc://some_address");
assert(rc == 0); // zmq_errno returns ENOENT on OSX

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130218/27549dbd/attachment.html>

More information about the zeromq-dev mailing list