FileDocCategorySizeDatePackage
ReverseTest.javaAPI DocExample563Thu Apr 03 15:15:06 BST 1997None

ReverseTest

public class ReverseTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

  
    byte[] xcluster = {18, 81, 0, 21};
    try {
      InetAddress ia = InetAddressFactory.newInetAddress(xcluster);
      System.out.println(ia.getHostName());
    }
    catch (Exception e) {
      System.err.println(e);
    }
    
    String sunsite = "152.2.22.3";
    try {
      InetAddress ia = InetAddressFactory.newInetAddress(sunsite);
      System.out.println(ia.getHostName());
    }
    catch (Exception e) {
      System.err.println(e);
    }