检测机器人连接到WiFi路由器系统 [英] Detecting systems connected to a WiFi Router in android

查看:319
本文介绍了检测机器人连接到WiFi路由器系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序具有经由WiFi.I连接到个人计算机需要扫描和显示的所有计算机的连接在局域网中,向其中在WiFi路由器是connected.Is有可能获得PC的connected.or的所有的名字,而我能得到各系统的IP?

My application has to connect to PC via WiFi.I need to scan and display all the PC's connected in the LAN,to which the WiFi router is connected.Is it possible to obtain all the names of the PC's connected.or rather I could get the IP of each system?

我发现了一个code的WiFi网络blockwhich扫描......但我认为这不是我需要...

I found a code blockwhich scans for the WiFi network...But I think that is not i need...

在code块是:

wifiList = mainWifi.getScanResults();
for(int i = 0; i < wifiList.size(); i++){
  sb.append(new Integer(i+1).toString() + ".");
  sb.append((wifiList.get(i)).toString());
  sb.append("\n");
}

我可以得到一个恰当的方法,我的问题?

Can I get an apt method for my problem?

此外我的Andr​​oid应用程序与PC互动,通过在Java中,一个服务器程序,我一直在使用套接字编程成功实施....家伙请帮助....

Also my android application has to interact with the PC,via a Server program in Java,which i have successfully implemented using socket programming....Guys pls help....

日Thnx提前....

Thnx in advance....

推荐答案

简短的回答:是的。较长的回答:太多的信息,说说在SO职位。我开始这里,看看是否有办法使该做你的需要。

Short answer: yes. Longer answer: way too much information to talk about in an SO post. I'd start here and see if there's a way to make that do what you need.

这篇关于检测机器人连接到WiFi路由器系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆