public void run(){
            while(true){
               try{
                   String line = reader.readLine();
                    System.out.println(line);
                    ss.write(line);
               }
               catch(Exception e){
                  System.out.println(e.getMessage());
               }
            }
        }