control_client.py 文件源码

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

项目:lewis 作者: DMSC-Instrument-Data 项目源码 文件源码
def _get_zmq_req_socket(self):
        context = zmq.Context()
        context.setsockopt(zmq.REQ_CORRELATE, 1)
        context.setsockopt(zmq.REQ_RELAXED, 1)
        context.setsockopt(zmq.SNDTIMEO, self.timeout)
        context.setsockopt(zmq.RCVTIMEO, self.timeout)
        context.setsockopt(zmq.LINGER, 0)
        return context.socket(zmq.REQ)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号