Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2002 21:38:28 -0800 (PST)
From:      huang wen hui <huanghwh@yahoo.com>
To:        freebsd-java@freebsd.org
Subject:   Socket.getInetAddress().getHostName() have problem
Message-ID:  <20020124053828.18731.qmail@web20404.mail.yahoo.com>

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




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