def METHOD_NAME(self, flags=0, copy=True, track=False):
    zmq_msg = byref(zmq_msg_t())
    zmq_msg_init(zmq_msg)
    try:
        _retry_sys_call(zmq_msg_recv, zmq_msg, self.handle, flags)
    except Exception:
        zmq_msg_close(zmq_msg)
        raise
    data = zmq_msg_data(zmq_msg)
    size = zmq_msg_size(zmq_msg)
    buf = string_at(data, size)
    rc = zmq_msg_close(zmq_msg)
    _check_rc(rc)
    return buf