YubiGuard.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:YubiGuard 作者: pykong 项目源码 文件源码
def start_listener(self):
        print('ZMQ listener started')
        while True:
            try:
                self.s.recv(zmq.NOBLOCK)  # note NOBLOCK here
            except zmq.Again:
                # no message to recv, do other things
                time.sleep(0.05)
            else:
                self.on_q.put(ON_SIGNAL)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号