public void run(){ 
       
       while(true){
            try {
                try { Thread.sleep(1000); } catch (InterruptedException ex) {}

                System.err.println("Deamon");
                Transporte tr = new Transporte(100);
                DatagramPacket p = tr.receberDatagramPacket(receiveSocket);

              if(p!=null){

                System.err.print("Deamon: ");
                System.err.println(p.getAddress() + "," + p.getPort());

                tr = tr.receberDeDatagramPacket(p);

                System.err.print("Deamon: ");
                System.err.println(tr.toString()); //teste

                if(tr.eqFlag("SYN")){
                    Thread t = new Thread(new AplicacaoServidor(p,this.root));
                    t.start();
                    //t.join();
                }
               
              }
            
            //} catch (InterruptedException ex) {
            } catch (IOException ex) {}
       }   
   }