Open
Bug 1239909
Opened 9 years ago
Updated 2 years ago
Turn on MDNS service on Windows
Categories
(Core :: Networking, defect, P5)
Tracking
()
NEW
People
(Reporter: schien, Unassigned)
References
Details
(Whiteboard: [necko-would-take])
Windows doesn't support mDNS natively until Windows 10.
https://msdn.microsoft.com/en-us/library/windows.networking.servicediscovery.dnssd.aspx
Reporter | ||
Updated•9 years ago
|
Summary: Turn on MDNS service on Linux → Turn on MDNS service on Windows
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 1•9 years ago
|
||
(In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment #0)
> Windows doesn't support mDNS natively until Windows 10.
> https://msdn.microsoft.com/en-us/library/windows.networking.servicediscovery.
> dnssd.aspx
The API works for Universal Windows Platform, and it seems Firefox is not a Windows Store app.
At this moment I cannot find any other win32 API provides mDNS/DNS-SD features.
Comment 2•9 years ago
|
||
(In reply to Gary Chen [:xeonchen] from comment #1)
> (In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment
> #0)
> > Windows doesn't support mDNS natively until Windows 10.
> > https://msdn.microsoft.com/en-us/library/windows.networking.servicediscovery.
> > dnssd.aspx
>
> The API works for Universal Windows Platform, and it seems Firefox is not a
> Windows Store app.
No, this API works on desktop (Win32) App.
Comment 3•9 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #2)
> (In reply to Gary Chen [:xeonchen] from comment #1)
> > (In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment
> > #0)
> > > Windows doesn't support mDNS natively until Windows 10.
> > > https://msdn.microsoft.com/en-us/library/windows.networking.servicediscovery.
> > > dnssd.aspx
> >
> > The API works for Universal Windows Platform, and it seems Firefox is not a
> > Windows Store app.
>
> No, this API works on desktop (Win32) App.
Hi Kato-san,
Would you give more details, like example or document, about this?
Flags: needinfo?(m_kato)
Comment 4•9 years ago
|
||
(In reply to Gary Chen [:xeonchen] from comment #3)
> (In reply to Makoto Kato [:m_kato] from comment #2)
> > (In reply to Gary Chen [:xeonchen] from comment #1)
> > > (In reply to Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) from comment
> > > #0)
> > > > Windows doesn't support mDNS natively until Windows 10.
> > > > https://msdn.microsoft.com/en-us/library/windows.networking.servicediscovery.
> > > > dnssd.aspx
> > >
> > > The API works for Universal Windows Platform, and it seems Firefox is not a
> > > Windows Store app.
> >
> > No, this API works on desktop (Win32) App.
>
> Hi Kato-san,
>
> Would you give more details, like example or document, about this?
You must learn WRL and C++ based Store App:-)
I think that you can create DeviceWatcher object
#include "mozwrlbase.h"
ComPtr<IDeviceInformationStatics> deviceInformationStatics;
GetActivationFactory(
HStringReference(RuntimeClass_Windows_Devices_Enumeration_DeviceInformation).Get(),
deviceInformationStatics.GetAddressOf());
ComPtr<IDeviceWatcher> watcher;
dviceInformationStatics->CreateWatcherAqsFilterAndAdditionalProperties(..., watcher.GetAddressOf());
Then, you can get IDeviceInformation via Add event.
Flags: needinfo?(m_kato)
Comment 5•9 years ago
|
||
Does this use for FxTV's service type only? If I have a test environment without TV, I can implement it.
Comment 6•9 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #5)
> Does this use for FxTV's service type only? If I have a test environment
> without TV, I can implement it.
No, this is for Firefox desktop browser on Windows.
You can test it on any Windows environment.
Thank you for helping!!
Reporter | ||
Comment 7•9 years ago
|
||
To be more specific, we are trying to provide a unified XPCOM interface [1] for MDNS service discovery and service registration on all supported OS. For windows we need a replacement of MDNSResponderOperator [2] that connect to Windows API/Service.
[1] https://dxr.mozilla.org/mozilla-central/source/netwerk/dns/mdns/nsIDNSServiceDiscovery.idl#180
[2] https://dxr.mozilla.org/mozilla-central/source/netwerk/dns/mdns/libmdns/MDNSResponderOperator.cpp
Comment 8•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•