Code Monkey home page Code Monkey logo

Comments (6)

guyluz11 avatar guyluz11 commented on June 3, 2024 1

nsd retrieve mDNS name and Hostname and it looks like it is well maintained.
It seems that the scan is going to retrieve the IP as well which will make it much easier for us to combine the info bout the device with our IP list.
So let's wait for this feature to get implemented, it will save us a lot of work
sebastianhaberey/nsd#7

from vernet.

guyluz11 avatar guyluz11 commented on June 3, 2024

As getting Mac address #7 has some kind of blocker we can resolve this by adding native dependencies depending on the platform.

I am sure there is one for Android and IOS.

from vernet.

guyluz11 avatar guyluz11 commented on June 3, 2024

I think for mDNS our best option for now is to implement android/ios only package and do it here and not part of network_tools.

Our options are nsd, flutter_mdns_plugin, mdns_plugin.

For Flutter Linux we can try executing bash commands like avahi-browse --all or mdns-scan but both of them do not come by default with Linux and are required to get installed separately by the user.

It looks like avahi-browse --all also shows the list of service types (the picture do not include mDNS names for security reasons)
image
And it looks like it found only tcp service type, I think I also have udp.
Having the option to search only all the tcp or searching for a list of known devices names can also be a good start.

from vernet.

guyluz11 avatar guyluz11 commented on June 3, 2024

The feature got implemented, will remove the blocker now

from vernet.

guyluz11 avatar guyluz11 commented on June 3, 2024

I am having trouble getting Host-name of devices on Android.
I think it is dart bug and not our code
Opened issue for that in dart-lang SDK repo.

The code supposes to work when the bug is fixed without changing anything.

from vernet.

guyluz11 avatar guyluz11 commented on June 3, 2024

The issue moved from dart-lang SDK repo to flutter repo as it is only on flutter android.

from vernet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.