Hi,

I have a simple event loop that is doing non-blocking IO using
s.recv(NOBLOCK) and Poller.poll.  I am seeing the following behavior
that might be a bug:

* I am using a REQ socket that connects to a REP socket.
* I do a send right after calling connect.
* Then I enter a loop to watch for replies.  The first few times that
I call poll (watching POLLIN) it returns immediately with an empty
poll set.  This is true
even if I provide a rather large timeout (1 second for example).
* After a short while (maybe a second or so) the poll calls do get
longer and if they are short, they return a non-null poll set.

Is this a bug?  What should poll do with a socket that is still connecting?

Cheers,

Brian

-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
[email protected]
[email protected]
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to