public void run(){
    	String msg = ""; // se cambiara para poner la ip de la maquina con lo siguiente
    	InetAddress group = null;
    	try{
		msg=InetAddress.getLocalHost().getHostAddress();
    		group = InetAddress.getByName(MCAST_ADDR); //se trata de resolver dir multicast  		
    	}catch(UnknownHostException e){
    		e.printStackTrace();
    		System.exit(1);
    	}
/********************inicia loop***************************/
	for(;;){
    	try{
    		MulticastSocket socket = new MulticastSocket(MCAST_PORT);
    		socket.joinGroup(group); // se configura para escuchar el paquete
    		DatagramPacket packet = new DatagramPacket(msg.getBytes(),msg.length(),group,MCAST_PORT);
    		System.out.println("Enviando: " + msg+"  con un TTL= "+socket.getTimeToLive());
    		socket.send(packet);
    		socket.close();    		
    	}catch(IOException e){
    		e.printStackTrace();
    		System.exit(2);
    	}

	try{
		Thread.sleep(1000*5);
	}catch(InterruptedException ie){}
        }//for;;
/*****************termina Loop***************************/    	

	}//run