From owner-freebsd-java Wed Jan 23 21:38:29 2002 Delivered-To: freebsd-java@freebsd.org Received: from web20404.mail.yahoo.com (web20404.mail.yahoo.com [216.136.226.123]) by hub.freebsd.org (Postfix) with SMTP id 7B00737B400 for ; Wed, 23 Jan 2002 21:38:28 -0800 (PST) Message-ID: <20020124053828.18731.qmail@web20404.mail.yahoo.com> Received: from [210.77.118.103] by web20404.mail.yahoo.com via HTTP; Wed, 23 Jan 2002 21:38:28 PST Date: Wed, 23 Jan 2002 21:38:28 -0800 (PST) From: huang wen hui Subject: Socket.getInetAddress().getHostName() have problem To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, I had post "ServerSocket.accpet()", now I find out the problem. getHostName() hangs my program. Does anyone have problem of using Socket.getInetAddress().getHostName() under jdk1.3.1p5+freebsd4.4? My program would hang on getHostName(), if I replace getHostName() with getHostAddress(), everything is ok. I try to cut my program to small code to find out this problem. But I can not repeat this problem. any ideas ? --hwh. __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message