[zeromq-dev] REQ/REP polling bug in 2.0.6?
Chuck Remes
cremes.devlist at mac.com
Tue May 25 23:29:40 CEST 2010
On May 25, 2010, at 1:36 PM, Chuck Remes wrote:
> I discovered something a bit surprising to me when doing a test with REQ/REP sockets in non-blocking mode.
>
> The first time a REP socket receives a message, instead of it generating a POLLIN event, it generates a POLLOUT event. Subsequent messages generates POLLIN. Is this expected or is it a bug?
I just tried this against the latest master. The very first message received by a REP socket generates a POLLOUT event the same as 2.0.6.
I still don't know if this is a bug or not. Perhaps I don't understand the semantics properly...
cr
More information about the zeromq-dev
mailing list