uxmstudio / lanscanner Goto Github PK
View Code? Open in Web Editor NEWEasily scan a Wi-Fi network for devices using Swift
License: MIT License
Easily scan a Wi-Fi network for devices using Swift
License: MIT License
When trying to integrate the LanScanner pod on a iPad Air 2 simulator I get the error code 101.
Trying to debug the problem I found that the method getLocalAddress() returns nil. Taking a look in the code it seems that the while loop that is looking for the "en0" string on the interface name are not matched. That error was triggered because I might be using an external network card.
What if it could be changed to the following:
let name = String(cString:interface.ifa_name)
if name..range(of:"en") != nil {
//...
}
Would be glad if you allow me to do a pull request.
Regards,
Support for MacOSX?
Hi,
I just installed for the first time using CocoaPods and noticed that when calling device.hostName the devices IP address is being returned. I'm guessing a change has been introduced and it is not longer parsing the hostname correctly?
I have included a screenshot from the demo app that demonstrates the issue.
Tom
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.