if (! mcastaddr.isMulticastAddress()) throw new IOException("Not a Multicast address");  SecurityManager s = System.getSecurityManager(); if (s != null) s.checkMulticast(mcastaddr);
  public void joinGroup(InetAddress mcastaddr) throws IOException  {    impl.join(mcastaddr);  }