[4623] in java-interest

home help back first fref pref prev next nref lref last post

Re: misplaced method

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Tue Jan 9 16:07:50 1996

Date: Tue, 9 Jan 1996 10:31:38 -0800
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: johns@fishnet.net
Cc: java-interest@java.Eng.Sun.COM


Hi John,

> I know I'm going to feel stupid on finding out the answer to this, but I've
> gone through the APIs and can't find a method that mimics the socket
> function gethostbyaddr. Do I need my eyes checked or is it hidden somewhere?

Try this, you need to convert the IP address to a string though:

  String host = getByName("129.144.86.116").getHostName();
	
Have fun,

	Arthur van Hoff
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post