I would run this example successfully.
I see in the function int zmq::socket_base_t::getsockopt (int option_, void
*optval_, size_t *optvallen_) with the code
*    if (option_ == ZMQ_RCVMORE) {*
*        if (*optvallen_ < sizeof (int)) {*
*            errno = EINVAL;*
*            return -1;*
*        }*
*        *((int*) optval_) = rcvmore ? 1 : 0;*
*        *optvallen_ = sizeof (int);*
*        return 0;*
*    }*
And I think type of 'more' should be int. Should we use ROUTER-REP for a
pull request?

On Fri, Oct 12, 2012 at 3:20 PM, Pieter Hintjens <[email protected]> wrote:

> On Fri, Oct 12, 2012 at 3:59 PM, Hoàng Minh Hải <[email protected]>
> wrote:
>
> > I found the problem with the code (zhelpers.hpp)
>
> Nice... would you make a pull request with this change?
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
Thanks & best regards,
Hải
-------------------------
Mobile: 0979830886
Ym: [email protected]
Skype: victor.hoang.2911
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to