开发者

getting ip address from host name in BlackBerry 6

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜