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

Laurent Alebarde l.alebarde at free.fr
Wed Jan 29 19:07:41 CET 2014

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140129/4093c127/attachment.htm>

More information about the zeromq-dev mailing list