Re: InetAddress

1999-04-06 Thread Michael Nielsen
"M. Suresh Babu" wrote: > > Hello everyone, > > Im just switched over to 1.2 in linux (nice work!). Im facing one > problem. i dunno if it is a bug or correction in new release. > > Using 1.1.7, the static method 'InetAddress.getLocalHost()' returns > the local machine address. > >

InetAddress

1999-03-30 Thread M. Suresh Babu
Hello everyone, Im just switched over to 1.2 in linux (nice work!). Im facing one problem. i dunno if it is a bug or correction in new release. Using 1.1.7, the static method 'InetAddress.getLocalHost()' returns the local machine address. But the same in 1.2 returns some other diff

RE: Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Michael Sinz
the reverse lookup... as is my understanding... >instantiation of the InetAddress object fails if reverse lookup is to >fail. However, my program continues to execute to the point where it >calls the getHostName() method. So, to me that means that the object was >successfully instantiated.

RE: Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Masuda, Bond
me and address... in particular, for IP = 206.19.60.13 I get hostname = chinook.tenthmtn.com but the Java program in my previous message does not work. I believe it is capable of doing the reverse lookup... as is my understanding... instantiation of the InetAddress object fails if reverse lookup is

Re: Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Michael Sinz
On Thu, 10 Sep 1998 13:34:08 -0700, Masuda, Bond wrote: >Hello, > >I am having trouble getting reverse DNS lookups to work on Linux. >Following is a snip of the code... this works on Windows 95, Windows NT, >but not on Linux. The problem is that the getHostName method returns the >ipString instea

Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Masuda, Bond
args[] ) { String ipString = args[0]; String hostName; InetAddress host; try{ host = InetAddress.getByName(ipString); }catch(UnknownHostException ex){ System.out.println(&q