[zeromq-dev] Other poll events than in/out

Brian Granger ellisonbg at gmail.com
Sat Feb 13 01:53:44 CET 2010


One other question about zmq_poll.  I am running 0MQ 2.0 and when I
call zmq_poll
I get:

"Operation not supported"

as the error.  Do I need to use trunk?

Cheers,

Brian

On 2/12/10, Brian Granger <ellisonbg at gmail.com> wrote:
> I am working on the Python bindings to zmq_poll and have a few questions:
>
> * For zmq sockets only io/out events make sense.  But what about for
> other socket types.  Can zmq_poll be used to monitor other sockets for
> the other events that select/poll know about?
>
> * When working with zmq sockets, does zmq_poll know about when
> complete messages are ready to be sent or received, or when the
> underlying socket is ready for read/write?
>
> * In the IO thread, does zmq call the real poll/select and manage the
> tcp/tpc/etc sockets in a non-blocking manner?
>
> Cheers,
>
> Brian
>
> --
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu
> ellisonbg at gmail.com
>


-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list