ios如何获取局域网内所有ip

使用代码获取连在同一个局域网内的其它设备的ip地址,类似于搜索到周边的电脑的ip地址

  • (NSString *)localIPAddress {     NSString *localIP = nil;     struct ifaddrs *addrs;     if (getifaddrs(&addrs)==0) {         const struc......
    答案就在这里:ios获取局域网ip
    ----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

An iOS Local Area Network / wifi Scanner
https://github.com/mongizaidi/LAN-Scan

http://stackoverflow.com/questions/17953119/how-scan-devices-in-a-lan-network
https://github.com/mongizaidi/LAN-Scan
https://developer.appcelerator.com/question/142993/how-can-i-make-an-ip-scanner