You also want to break out when rc==0 to achieve your non-blocking read behavior. Don't set or test for errno. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130220/4a3544ca/attachment.htm>