Transport agnostic Websocket library

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • wic

    WebSockets in C for Embedded Applications (by cjhdev)

  • https://github.com/cjhdev/wic Almost ideal, but lacks thorough testing and has some perf issues

  • wslay

    The WebSocket library in C

  • https://github.com/tatsuhiro-t/wslay A bit more battle tested, but lacks the initial http update flow

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Crow

    A Fast and Easy to use microframework for the web. (by CrowCpp)

  • I recommend Crow, it's a web framework that supports HTTP and Websockets. It's a bit larger than being only there to just let you compose or decode a packet. But I'm pretty sure everything you mentioned is there already :)

  • websockify-other

    Assorted ports of websockify code to other languages

  • libws

    A non-blocking WebSocket (RFC 6455) implementation in C

  • I kind of did that to create my own library (server only): https://github.com/osen/libws/tree/master/src/ws

  • libdatachannel

    C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets

  • https://github.com/paullouisageneau/libdatachannel ?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts