(self)
Close the connection.
Close the connection.
Close the connection .
def close(self):
        """Close the connection."""
        sock = self.sock
        self.sock = None
        self.eof = True
        self.iacseq = b''
        self.sb = 0
        if sock:
            sock.close()
def close ( self ) : sock = self . sock self . sock = None self . eof = True self . iacseq = b'' self . sb = 0 if sock : sock . close ( )