public void run(){ 
           while(!END_AReceber){
                try {
                    //try { Thread.sleep(1000); } catch (InterruptedException ex) {}
                    
                    //Console_println("AR1");
                    Transporte tr = new Transporte(initTransportePSH);
                    DatagramPacket p = tr.receberDatagramPacket(receiveSocket);
                    
                  if(p!=null){
                    
                    Console_println(p.getAddress() + "," + p.getPort());
                    
                    tr = tr.receberDeDatagramPacket(p); //teste
                    Console_println(tr.toString()); //teste
                    
                    if(sendIPAddress.equals(p.getAddress())) {
                        if(receivePort == -1) receivePort = p.getPort();
                        
                        if(p.getPort() == receivePort){ 
                            Recebidos.lock();
                            Recebidos.lista.add(p);
                            Recebidos.unlock();
                            NOTIFYED = 1; B.BBAcorda(); Console_println("ips/portas iguais");
                        }
                        
                    }
                    else Console_println("ips diferentes");
                  }
                    
                } catch (IOException ex) {}
           }
           
       }