freelanceprogrammers.org Forum Index » Java
Get IP address by its name.
Joined: 30 Jan 2002
Posts: 24
Get IP address by its name.
I would like to share my exprience.<br>I find at
java.net.InetAddress ,class InetAddress has a method called
getByname(); so we can get the Ip address by its host
name.<br>For example ,InetAddress
address=InetAddress.getByname("localhost").<br>and the value of address is
"127.0.0.1".<br>i hope ,i
did not bother you.<br>njzeng
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







