MulticastSocket sock = new 
  MulticastSocket(5033);
sock.setTimeToLive(16);
InetAddress 
  ia=InetAddress.getByName
    ("225.2.2.2");
sock.joinGroup(ia);