Giter Site home page Giter Site logo

Comments (2)

stevefan1999-personal avatar stevefan1999-personal commented on July 22, 2024

I found some interesting fact surrounding multicast address maybe?

On Windows machine, if you started Wireshark/Npcap to capture packets, the interface metric actually favors Wireshark (because it needs to be high up enough to capture traffic of course) but for some reason Npcap didn't forward the multicast to the main interface, thus the packet never had a chance to go to my main router.

I've experience similar problem of you, and if anyone having the same issue and also on Windows, this might be a special case worth checking out.

I have to specifically listen on my local address that's listed on my main interface to get around with this. The brute force solution would be to find all possible interfaces, listen and send IGD request to all of them, and then randomly select any valid/ok result.

from rust-igd.

danielstuart14 avatar danielstuart14 commented on July 22, 2024

I solved this issue using the "local_ip_address" crate and passing the local ip it resolves to the search_gateway function:
image

from rust-igd.

Related Issues (17)

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.