Java Network problem
mina mina
usernameking at yahoo.com
Sun Feb 22 09:14:40 PST 2004
hello ,
i really dont know if i have to mail this to
freebsd-java or to sun
but i have jdk1.4.2 compiled on FreeBSD 5.1
and now am working on FreeBSD 5.2-RELEASE after
upgrade
its network problem i cannot nslookup ip using java
i have test this code on windows and its work fine
with the same JDK
InetAddress addr = InetAddress.getByName (IP);
System.out.println ( "IP Address : " +
addr.getHostAddress ()) ;
System.out.println ( "hostname : " +
addr.getHostName () );
getting address (IP) of hostname is work fine
but if i wana get the hostname for IP its gives me the
same IP
and my connection is Dailup
thanks alot
Mina
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
More information about the freebsd-java
mailing list