zmq is using `int` error codes, not `c_int`