From owner-freebsd-java@FreeBSD.ORG Sun Feb 22 09:14:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80E1916A4CE for ; Sun, 22 Feb 2004 09:14:40 -0800 (PST) Received: from web40807.mail.yahoo.com (web40807.mail.yahoo.com [66.218.78.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 60DAD43D2F for ; Sun, 22 Feb 2004 09:14:40 -0800 (PST) (envelope-from usernameking@yahoo.com) Message-ID: <20040222171440.53970.qmail@web40807.mail.yahoo.com> Received: from [212.122.235.141] by web40807.mail.yahoo.com via HTTP; Sun, 22 Feb 2004 09:14:40 PST Date: Sun, 22 Feb 2004 09:14:40 -0800 (PST) From: mina mina To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Java Network problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 17:14:40 -0000 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