Nimrodda / flutter_nsd

A Flutter plugin that enables Network Service Discovery (mDNS) on various platforms via their native APIs.
Apache License 2.0
34 stars 8 forks source link

Removed service type from name in Windows implementation #26

Closed jnstahl closed 2 years ago

jnstahl commented 2 years ago

This should fix this recently discovered issue

Nimrodda commented 2 years ago

Thanks once again for taking a quick action on this 👍 Based on this change, I understand that it's MDNS library that concatenates the name and type together. Explains why I couldn't find it 😅

jnstahl commented 2 years ago

It's not even the MDNS library - this is how the MSNS packets themselves work. the iOS and Android implementations apparently strip this out internally. This library is just an extremely thin layer to parse the raw MDNS packets into individual components.