objective c - iOS socket list of hosts wlan -


i have wlan-device, communicate with. @ first go ios settings , connect device directly. in app need input ip , port open socket. until knew ip , port, open socket connection device. if connected (adhoc) device, why can not find stuff automatically? saw solutions, of them need usage of dynamic libs or not longer available in ios7.1. can not use dynamic libs, because app should go appstore.

there no other way since ios 6. have scan location. "reachability" you, if know name of host. try scan posible ip's. thread limited 5 operations go preaty fast.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -