llc.py 文件源码

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

项目:nfcpy 作者: nfcpy 项目源码 文件源码
def connect(self, socket, dest):
        if not isinstance(socket, tco.TransmissionControlObject):
            raise err.Error(errno.ENOTSOCK)
        if not socket.is_bound:
            self.bind(socket)
        socket.connect(dest)
        log.debug("connected ({0} ===> {1})".format(socket.addr, socket.peer))
        if socket.send_miu > self.cfg['send-miu']:
            log.warn("reducing outbound miu to not exceed the link miu")
            socket.send_miu = self.cfg['send-miu']
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号