Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 09:14:40 -0800 (PST)
From:      mina mina <usernameking@yahoo.com>
To:        freebsd-java@freebsd.org
Subject:   Java Network problem
Message-ID:  <20040222171440.53970.qmail@web40807.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040222171440.53970.qmail>