jonnydee/nzmqt — pull request #1 by JelleHissink (2011-12-07 23:12:46+00:00)
Title: ZMQSocket.socketActivity() keeps getting write notifications

Hi Jonnydee,

When I create a SUB socket on tcp (either localhost or ip) I get continuous notifications on the socketActivity() slot, this prevents timers from running correctly.
The source of the continuous calls is in the socketNotifyWrite_ notifier. flags() returns 0 and will be called again.
I made a small modification to the source to prevent this by disabeling the notifier when flags() returns 0 and enabeling it again if sending fails because sending would block.

Regards,
Jelle