远程控制篇:通过IP地址得到机器名
来源:互联网 发布:布局 知乎 编辑:程序博客网 时间:2024/05/22 06:42
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
function IPtoname(IP:string):string;
var
WSAData:TWSAData;
p:PHostEnt;
InetAddr:dword;
begin
WSAStartup(2, WSAData);
InetAddr:= inet_addr(PChar(IP));
try
p:=GetHostByAddr(@InetAddr, Length(IP), PF_Inet);
result:=p^.h_name;
except
result:='';
end;
end;
官本和 2001.4
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 远程控制篇:通过IP地址得到机器名
- 得到本机机器名、IP地址及其类别
- 通过IP或机器名获取局域网MAC地址
- 得到机器名称+得到ip地址
- 通过SOCKET 得到IP地址
- 通过主机名得到IP地址
- 无法通过机器名访问远程机器共享目录,但通过ip可以
- 通过IP查询机器名
- 通过IP查机器名
- 解决用request.getRemoteHost()为什么得到的不是机器名,而是IP地址
- 得到客户机器的ip地址
- 通过 MAC 地址得到IP的脚本
- IP地址通过WEBSERVICE得到城市
- 局域网内成功的。可以通过IP地址查询到机器名。
- dos命令 通过IP查看机器名
- 如何通过IP地址知道机器名字?
- javascript获取本机ip地址 mac地址 机器名
- javascript获取本机ip地址 mac地址 机器名
- 用Delphi 开发数据库程序经验三则
- uclinux-2008R1-RC8(bf561)到VDSP5的移植(8):_stext
- 分享:CSS使用技巧20则
- SQL查询语句精华使用简要
- eclipse 中的工程不能编译的一个原因
- 远程控制篇:通过IP地址得到机器名
- 超级漂亮的表格:彩色背景
- 获取主机名称是关于SetComputerNameEx函数的使用问题!
- 调整SQLServer2000运行中数据库结构
- 在应用程序中开关WINDOWS系统
- 纯CSS文本阴影效果实现
- SQLSERVER扩展存储过程XP_CMDSHELL的简单应用
- 如何知道函数或类型是在哪里定义的
- 用CSS打造可折叠伸缩名片菜单