Coder Social home page Coder Social logo

rmravindran / usockets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unetworking/usockets

0.0 0.0 0.0 823 KB

Miniscule cross-platform eventing, networking & crypto for async applications

License: Apache License 2.0

Shell 0.63% C++ 9.68% C 88.42% Makefile 1.27%

usockets's Introduction

Optimized TCP, TLS, QUIC & HTTP3 transports

µSockets is the non-blocking single-threaded foundation library used by µWebSockets. It provides optimized networking - using the same opaque API (programming interface) across all supported transports, event-loops and platforms (QUIC is work-in-progress).

Language grade: C/C++

⏳ Write code once

Based on µSockets, apps like µWebSockets can run on many platforms, over many transports and with many event-loops - all without any code changes or special execution paths. Moving data over TCP is just as easy as over QUIC.

Hit make examples to get started.

🪶 Lightweight or featureful

In its minimal, TCP-only, configuration µSockets has no dependencies other than the very OS kernel and compiles down to a tiny binary. In its full configuration it depends on BoringSSL, lsquic and potentially some event-loop library.

Here are some configurations; WITH_LIBUV, WITH_ASIO, WITH_GCD, WITH_ASAN, WITH_QUIC, WITH_BORINGSSL, WITH_OPENSSL, WITH_WOLFSSL.

⚡ Fast & stable

µWebSockets itself is known to run with outstanding performance and stability since 2016. This of course directly depends on the speed and stability of µSockets. We fuzz and randomly "hammer test" the library as part of security & stability testing done in µWebSockets.

usockets's People

Contributors

unetworkingab avatar jagerman avatar shaharmor avatar not-implemented avatar mrlika avatar dmitigr avatar glingy avatar ivan2kh avatar jolopezl avatar mumbleskates avatar matt-deboer avatar mikeseese avatar alastairpatrick avatar e3dio avatar fatduckling avatar swegen avatar

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.