GithubHelp home page GithubHelp logo

Comments (3)

radarsat1 avatar radarsat1 commented on August 20, 2024

Interesting, looks like it couldn't hurt.. http://man7.org/linux/man-pages/man7/socket.7.html

If the BPF program
returns an invalid index, socket selection will fall back to
the plain SO_REUSEPORT mechanism.

I don't fully understand if OSC would stand to gain much, from the slides it appears that it's for very heavy UDP traffic. I guess it could, depending on the user. But as long as it doesn't hurt anything and could make things better, I see little reason not to try it.

I suppose I might want to test with several liblo-using applications to make sure there aren't any adverse effects.

from liblo.

sl1200mk2 avatar sl1200mk2 commented on August 20, 2024

SO_REUSEPORT doesn't play nice on windows, so maybe it could be just for macos/linux.
I really don't know if we could gain something...
reading some docs I found this one which explains BPF (search for BPF Programs):
http://newosxbook.com/bonus/vol1ch16.html

++

from liblo.

sl1200mk2 avatar sl1200mk2 commented on August 20, 2024

well it seems complicated... one should open BPF device for read-write access, put the filtering and attach it to an interface ('en0', 'lo0', etc...).
so it may not fit our needs...

++

from liblo.

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.