public int zmq_sendiov (SocketBase s_, byte[][] a_, int count_, int flags_)
    {
        if (s_ == null || !s_.check_tag ()) {
            throw new IllegalStateException();
        }
        int rc = 0;
        Msg msg;
       
        for (int i = 0; i < count_; ++i) {
            msg = new Msg(a_[i]);
            if (i == count_ - 1)
                flags_ = flags_ & ~ZMQ_SNDMORE;
            rc = s_sendmsg (s_, msg, flags_);
            if (rc < 0) {
               rc = -1;
               break;
            }
        }
        return rc;

    }