[zeromq-dev] Can zmq_pollitem_t contain an item with a NULL socket ?

Pieter Hintjens ph at imatix.com
Wed Jan 29 20:20:41 CET 2014


Undefined, by the man page. It should probably assert in such a case.

On Wed, Jan 29, 2014 at 12:07 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
> Hi Devs,
>
> What is the zmq_poll behaviour when the zmq_pollitem_t array contains an
> item with a NULL socket ? ignored, undefined, error ?
>
> If it is in src/poll.cpp / "void zmq::poll_t::loop ()" / "for
> (pollset_t::size_type i = 0; i != pollset.size (); i++)", it seems there is
> no NULL test with a continue.
>
> Cheers,
>
>
> Laurent
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list