if (isClosed()) throw new SocketException("socket is closed");
  public byte getTTL() throws IOException  {    // Use getTTL here rather than getTimeToLive in case we're using an impl    // other than the default PlainDatagramSocketImpl and it doesn't have    // getTimeToLive yet.    return impl.getTTL();  }