SMBProtocol.py 文件源码

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

项目:xunfeng 作者: ysrc 项目源码 文件源码
def closeConnection(self):
        """
        Disconnect from the remote SMB/CIFS server. The TCP connection will be closed at the earliest opportunity after this method returns.

        :return: None
        """
        if not self.instance:
            raise NotConnectedError('Not connected to server')

        self.instance.transport.loseConnection()

    #
    # ClientFactory methods
    # (Do not touch these unless you know what you are doing)
    #
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号