On 09/12/11 14:23, Yi Ding wrote:

> Right, I get that it's edge-triggered.  What surprised me is that even
> though there was a state change (from nothing on the wire ready to be
> read to something is ready to be read) it wouldn't notify me unless I
> had called recv before the state change happened.

The initial state is "readable".

Only after you call recv and get nothing, the state switches to 
not-readable.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to