getCanonicalHostName () will always do a reverse DNS lookup, whereas getHostName() would return the stored hostname if you supplied one in the InetAddress ...
確定! 回上一頁