Comments (3)
Hey,
Why do you absolutely want the IP address instead of the hostname ? You're not using 140.82.121.4 to go on github.com, aren't you ?
from bonsoir.
It was more of a curiosity question regarding the discrepancy between scanning with Android vs. IOS and WIndows... Given the shift of using HTTPS which does not allow direct connection with IP's and .local, we will probably just use this to scan if the devices are in the same LAN. Thanks!
from bonsoir.
It was more of a curiosity question regarding the discrepancy between scanning with Android vs. IOS and WIndows...
Understood. On Darwin platforms, Bonsoir rely on NWBrowser
/ DNSServiceResolve
which only gives you the hostname. It should be possible to find the IP address using gethostbyname
or getaddrinfo
tho, as stated here.
from bonsoir.
Related Issues (20)
- Getting the IP/address of BonsoirDiscoveryEvent HOT 3
- More pub points HOT 2
- Example page is not relevent HOT 1
- Crashes related to messages being sent from native to Flutter on non-platform thread HOT 4
- Customise hostname HOT 5
- Crash when TXT record contains empty properties HOT 2
- java.net.SocketTimeoutException: Poll timed out leads to crash on android few seconds after discovering service HOT 6
- iOS cannot discover a host running on Windows HOT 7
- normalizeType error HOT 4
- Error Redeclaration: BonsoirService HOT 1
- Scan for all the mDNS devices in the network HOT 3
- How can I run this on native android? HOT 8
- Does not work for Flutter-Tizen project HOT 1
- [macOS/windows] Random crash when starting and stopping discovery HOT 5
- Specific characters are missing HOT 2
- Crashes on iOS caused by DNSServiceProcessResult HOT 2
- Broadcast on specific interface HOT 2
- java.util.ConcurrentModificationException is throwed by BonsoirServiceDiscovery.kt HOT 2
- How to get the IP of the resolved service? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonsoir.