@Override
    public void run (){
        String line;
        BufferedReader fromClient;
        DataOutputStream toClient;
        boolean verbunden = true;
        System.out.println("Thread started: "+this); // Display Thread-ID
        try{
            fromClient = new BufferedReader              // Datastream FROM Client
            (new InputStreamReader(client.getInputStream()));
            toClient = new DataOutputStream (client.getOutputStream()); // TO Client
            while(verbunden){     // repeat as long as connection exists
                line = fromClient.readLine();              // Read Request
                
                parseFromClient(line);
                
                System.out.println("Received: "+ line);
                if (line.equals(".")) verbunden = false;   // Break Conneciton?
                else toClient.writeBytes(line.toUpperCase()+'\n'); // Response
            }
            fromClient.close(); toClient.close(); client.close(); // End
            System.out.println("Thread ended: "+this);
        }catch (Exception e){System.out.println(e);}
    }