Coder Social home page Coder Social logo

Comments (5)

jiamo avatar jiamo commented on May 26, 2024 1

Could you potentially consider using the unified API abstraction layer that Redis has implemented as a reference? such like https://github.com/redis/redis/blob/7.2/src/ae.c . Just a small suggestion, awaiting your works.

from ndpid.

utoni avatar utoni commented on May 26, 2024

I have/had ambitions to support Windows and Mac OS X. IMHO the only thing that may cause headaches and requires some time to port is the usage of the linux only event I/O epoll.

from ndpid.

utoni avatar utoni commented on May 26, 2024

There are already portable event I/O libraries available such as libuv. But I am afraid of adding a new dependency to nDPId (at least for Linux), because one of my goals of this toolkit was having minimal library dependencies. For now only libc and libpcap are a must have. libnDPI can be built and statically linked into the application from this repository via CMake.

from ndpid.

utoni avatar utoni commented on May 26, 2024

You may now try the add/event-io-abstraction branch. The newly added event I/O abstraction layer should make it possible to use nDPId and nDPIsrvd within BSD and Mac. Please report any errors, configure/build/runtime failures included.

Cheers!

from ndpid.

utoni avatar utoni commented on May 26, 2024

see #27 and #30

from ndpid.

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.