Giter Site home page Giter Site logo

bnl's Introduction

Build Status Build status Build Status

What is bnl?

bnl (Binary Networking Library) consists of a WIP HTTP/3 implementation, an easy to use wrapper around ngtcp2 (a QUIC implementation) and an example HTTP/3 client for testing interop with other implementations.

All protocols implemented under bnl work on buffers of binary data and as such, data can be transported between two endpoints in any way the user sees fit. One immediate advantage of this approach is the possibility to verify application layer protocols such as HTTP/3 in-memory before moving on to test the implementation using its associated transport protocol (in the case of HTTP/3: QUIC). Of course, eventually the goal is to provide common transports and other required OS integrations as part of bnl (first and foremost being an UDP transport to facililate transporting QUIC packets over the Internet).

Build instructions

bnl uses the CMake build system. At least version 3.13 is required. All other dependencies are automatically downloaded when running CMake for the first time.

git clone https://github.com/DaanDeMeyer/bnl.git
cmake -B build -S bnl -DBNL_TEST=ON
build/test # Run tests

CMake options

User

  • BNL_TEST: Build tests (default: ON)

Developer

  • BNL_SANITIZERS: Build with sanitizers (default: OFF).
  • BNL_TIDY: Run clang-tidy when building (default: OFF).
  • BNL_WARNINGS_AS_ERRORS: Add -Werror or equivalent to the compile flags and clang-tidy (default: OFF).

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.