设为首页 加入收藏

TOP

PB9中通过网址(域名)获取IP的方法(二)
2014-11-23 22:54:19 来源: 作者: 【 】 浏览:18
Tags:PB9 通过 网址 域名 获取 方法
( this, "destructor" )
call super::destroy
end on

程序中这样调用即可:
[cpp]
n_cst_ip ln
string ls_dsn = 'www.baidu.com',ls[]
if ln.of_getdnsip(ls_dsn, ls) then
long i
for i = 1 to upperbound(ls)
messagebox('提示', '域名【' + ls_dsn + '】对应的IP地址(' + string(i) + ')为:~r~n~r~n' + ls[i])
next
end if

摘自 yyoinge的专栏
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇SybSQLException: The datastream.. 下一篇pb控件强化:一个在drag时可以自..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: