-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS cannot discover a host running on Windows #83
Comments
Are you sure you're discovering the correct type ? Do you have a snippet or something ? |
I think I discovered the correct type. startDiscovery()
startScan()
Not sure it helps you but this is all I've got.
|
Nop ! |
I am running into this same issue:
Versions:
|
Hey, This could be the same problem than https://stackoverflow.com/questions/60925721/my-ios-macos-devices-are-unable-to-resolve-my-bonjour-zeroconf-service-created-o. Does it work with a |
(Sorry maybe I'm misunderstanding) With the link it looks like they used an npm package to broadcast a bonjour service which iOS discovered sucessfully, but couldn't resolve it without an extra parameter in the broadcast. But in our case iOS is not even discovering the service.
|
You're right, I've misread the SO post. I'll continue to investigate on my side, but feel free to post here if you got something new. |
Have the same issue, but discovered something strange. When I use an iPhone App as bounjour browser, I can't see the windows host. However, when I start a Linux server on parallel, both server become visible. Edit: when I shutdown the Linux server, the windows entry is gone, too. |
Another finding. Windows does not publish its IP address under host, but its link local URL. |
Found a fix, fill the attributes: BonsoirService service = BonsoirService(
name: name,
type: type,
port: port,
attributes: {"DUMMY": "iOSFix"}, // <- content does not matter, but you have to set a TXT info.
); This is so stupid, I didn't believe it first. |
Yes, at least on iOS device using this lib for discovery. When I use avahi browser UI under Linux or an equivalent on macOS, I do NOT see the service. But the service is always discovered by the avahi browser cli tool under Linux (with and without a TXT) or on iOS (only with a TXT) and Android (with and without a TXT) when using the lib. |
Describe the bug
iOS cannot discover a host running on Windows.
I tested as follows:
Version info:
FYI, there is no errors or other logs printed. Not sure it is a bug.
Thanks for your nice work!
The text was updated successfully, but these errors were encountered: