Zero is not an error. -1 is an error. >= 0 is success. In pretty much the entire C API, in libzmq and in CZMQ, zero means success, though sometimes success is also >0. Errors are always -1.
On Fri, Jul 11, 2014 at 8:21 PM, jricher <[email protected]> wrote: > > I'll admit that I'm just learning the framework, but I'm having a problem > binding an inproc socket. > > The code for a minimal test case is at: http://pastebin.com/CAjThk0i > > Essentially, I'm getting a "Resource temporarily Unavailable" error. It only > happens in C - even though I have czmq and pyzmq compiled against the > same underlying version of zeromq. I'm at wits end - would someone please > tell me what stupid thing I'm doing so that I can fix it..... > > Jacques > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
