Please let me know whether there is way to get the IP address of server from it's domain name. for example:
Domain name is : http://www.gmail.com
then i want api like
public String getIPAddress(String hostname) { Some code here
return ipAddress; }
I am using Blackberry 6 api, which does not have InetAd开发者_运维知识库dress class.
I dont think there is an API available in BB
http://supportforums.blackberry.com/t5/Java-Development/is-there-a-way-to-get-the-remote-ip-address-given-its-hostname/td-p/171164
精彩评论