File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Joined: Mar 26, 2006
Mar 26, 2006 21:18:00
when i used ,
address = InetAddress.getByName("google.com");
it did not give any output by threw
though my computer is connected to the internet.
I agree. Here's the link:
subject: inetaddress problem
How can i find out the ip address of the machine in Java
InetAddress and getLocalHost
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015