A long-lived background thread that blocks on readBytes() is the only reliable method. But see this comment:
              
              
              1 Like
            
            
          A long-lived background thread that blocks on readBytes() is the only reliable method. But see this comment: