I iCAB Well-Known Member Licensed User Longtime User Feb 4, 2017 #1 Hi There Does anyone know how to find the list of devices (IP Addresses) connected to an iPhone hotspot. Something equivalent to https://www.b4x.com/android/forum/threads/android-wifi-hotspot-manager.61286/ Thanks in advance Last edited: Feb 4, 2017
Hi There Does anyone know how to find the list of devices (IP Addresses) connected to an iPhone hotspot. Something equivalent to https://www.b4x.com/android/forum/threads/android-wifi-hotspot-manager.61286/ Thanks in advance
Erel B4X founder Staff member Licensed User Longtime User Feb 5, 2017 #2 I don't think that it is possible. Upvote 0
I iCAB Well-Known Member Licensed User Longtime User Feb 5, 2017 #3 Erel said: I don't think that it is possible. Click to expand... Hi Erel, I found the links below: https://medium.com/rocknnull/ios-a-...library-has-been-born-f218f1a416a5#.ae7nwojwq https://github.com/mongizaidi/LAN-Scan Is there a way to convert this code to B4I? Thank you Upvote 0
Erel said: I don't think that it is possible. Click to expand... Hi Erel, I found the links below: https://medium.com/rocknnull/ios-a-...library-has-been-born-f218f1a416a5#.ae7nwojwq https://github.com/mongizaidi/LAN-Scan Is there a way to convert this code to B4I? Thank you
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2017 #4 This code scans each ip address in the network. You will need to create a wrapper in order to use it. It doesn't seem like it will work in IPv6 networks so you will also need to update the code itself. Upvote 0
This code scans each ip address in the network. You will need to create a wrapper in order to use it. It doesn't seem like it will work in IPv6 networks so you will also need to update the code itself.
I iCAB Well-Known Member Licensed User Longtime User Feb 14, 2017 #5 is there a way to find the IP address range for the hotspot and possibly send a broadcast message to the attached devices Upvote 0
is there a way to find the IP address range for the hotspot and possibly send a broadcast message to the attached devices
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2017 #6 You don't need to know the ip address. You can send a broadcast UDP message. See this tutorial: https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/ Upvote 0
You don't need to know the ip address. You can send a broadcast UDP message. See this tutorial: https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/
I iCAB Well-Known Member Licensed User Longtime User Feb 14, 2017 #7 Erel said: You don't need to know the ip address. You can send a broadcast UDP message. See this tutorial: https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/ Click to expand... Hi Erel, Thanks for your help. Is there a similar method we can use with iOS Thank Upvote 0
Erel said: You don't need to know the ip address. You can send a broadcast UDP message. See this tutorial: https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/ Click to expand... Hi Erel, Thanks for your help. Is there a similar method we can use with iOS Thank
Erel B4X founder Staff member Licensed User Longtime User Feb 15, 2017 #8 Yes. UDPSocket.GetBroadcastAddress returns the broadcast address. This is all you need. Upvote 0