public static void multicastListener () {
		
		 MulticastSocket socket = null;
		    DatagramPacket inPacket = null;
		    byte[] inBuf = new byte[Parameters.UDP_BUFFER_SIZE];
		    try {
		      //Prepare to join multicast group
		      socket = new MulticastSocket(8888);
		      InetAddress address = InetAddress.getByName("localhost");
		      socket.joinGroup(address);
		 
		      while (true) {
		        inPacket = new DatagramPacket(inBuf, inBuf.length);
		        socket.receive(inPacket);
		        String msg = new String(inBuf, 0, inPacket.getLength());
		        System.out.println("From " + inPacket.getAddress() + " Msg : " + msg);
		      }
		    } catch (IOException ioe) {
		      System.out.println(ioe);
		    }
		  
	}