websocket-library

Open-source projects categorized as websocket-library
Language: + Python + C++ + C

Top 3 websocket-library Open-Source Projects

  • websockets

    Library for building WebSocket servers and clients in Python

  • Restbed

    Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.

  • 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.

  • wsServer

    wsServer - a tiny WebSocket server library written in C (by Theldus)

    Project mention: Libwebsockets | news.ycombinator.com | 2024-01-06

    One great feature for me was being able to accept both WebSocket as well as raw TCP connections on the same port using libwebsockets, this is extremely easy and just required settings the flag LWS_SERVER_OPTION_FALLBACK_TO_RAW.

    I encountered other hiccups. They are fully documented and completely valid, but were really confusing to me as a first-time user:

    * Sending data requires a specific memory layout[2] – namely having to allocate memory for the websocket header youself before the actual message you want to send. This gave me confusing segfaults in the beginning.

    * Sending data / responding to a client message will probably (but not always) fail when just naively using "lws_write()". To correctly send data you need to manually queue your message data, request the "ON_WRITABLE" callback[3] and only then actually send.

    [1]: https://github.com/Theldus/wsServer

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-06.

Index

What are some of the best open-source websocket-library projects? This list will help you:

Project Stars
1 websockets 4,968
2 Restbed 1,885
3 wsServer 399
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com