Giter VIP home page Giter VIP logo

Comments (4)

rtpt-erikgeiser avatar rtpt-erikgeiser commented on July 20, 2024

I just noticed that the second possible solution is closely related to #10. So maybe both issues can be resolved together.

from ndp.

mdlayher avatar mdlayher commented on July 20, 2024

Option 3 seems reasonable to me for now, though honestly I have no idea which other parts of x/net/* work on Windows as I am on *nix 99% of the time. A PR would be welcome for that option.

As for #10, I'll think on that some more but don't plan to do it immediately. Thanks!

from ndp.

rtpt-erikgeiser avatar rtpt-erikgeiser commented on July 20, 2024

Okay I can submit a PR. But first, could you tell me why SetChecksum is called in the first place? If this call is needed for functionality other than router advertisements, this change could be a bad idea because it would imply that the library works with Windows when it fact it does not. Again, I only tested router advertisements after removing the call as this is my only usecase. If the checksum is optional then option 3 would indeed be fine and I'll submit the PR. I just don't want to introduce anything that makes this library worse.

from ndp.

mdlayher avatar mdlayher commented on July 20, 2024

Honestly I consider Windows support for any of my libraries to be best effort and would rather not change any existing functionality for Unix. It's been a long time since I've reviewed this code so let's make the minimum change to get Windows working and leave everything else alone for now.

from ndp.

Related Issues (12)

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.