libwebsockets
POCO
Our great sponsors
libwebsockets | POCO | |
---|---|---|
12 | 14 | |
4,576 | 7,882 | |
1.6% | 1.8% | |
8.6 | 9.6 | |
1 day ago | 2 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | THE BOOST SOFTWARE LICENSE 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libwebsockets
- FLaNK Weekly 08 Jan 2024
-
Libwebsockets
This is just the endemic result of C++ lacking a package manager.
Every library starts out small, adds its own vendored utilities, adds its own dependencies, and eventually becomes boost.
To be fair to this project, theyve worked quite hard to make the library consumable by others… but yes, its hard to look at the code like https://github.com/warmcat/libwebsockets/blob/50ba61082dc40b...
…and not go… really? As part of the core of libwebsocket?
When you read the justification it’s mostly “well we have a good framework now, so why not use it for other things too?”
C++ life.
/shrug
-
Rusty C programmer needs help with modern tools
I'm trying to setup a project using libwebsockets.
- Beej updated the classic Linux network programming guide
-
Hacker News top posts: Sep 7, 2021
Libwebsockets a powerful and lightweight pure C library\ (48 comments)
- libwebsockets - a flexible, lightweight pure C library for implementing modern network protocols
- Libwebsockets a powerful and lightweight pure C library
-
Need some direction on writing a web socket client
and how others have implemented the client
POCO
- What are some C++ projects with high quality code that I can read through?
-
What is the best option to do networking in c++?
You can also look into Poco https://pocoproject.org/
-
Is C/C++ good for the backend? If so, is there anything like Fastapi in C/C++?
I can't say enough good stuff about POCO for this type of work - when I first got my teams using it we used to joke that POCO was what Boost wants to be when it grows up. And nlohmann/json - cracking library for working with JSON in C++.
-
HTTP LISTENER C++
We use https://github.com/pocoproject/poco in most projects, very easy to set up a http listener
-
Who is using C++ for web development?
Did someone used Poco's Net Library to create a Rest Api? Poco Project
-
Do someone use CLion under Windows with good performance?
But CLion is so slow. Tested with Poco C++ standard build (https://pocoproject.org/). Moving around with Go To Definition takes sometimes up to 20 seconds if file is first touched. Using 'back' and 'forward' delays for 1-2 seconds.
-
Why am I not able to make https get requests using Poco::Net?
Yes, you need NetSSL - take a look at find_package(Poco REQUIRED COMPONENTS ... NetSSL) requires an aditional find_package(OpenSSL) since poco-10.
-
Can you recommend a good C++ open source project?
poco (portable components) https://pocoproject.org/
- CMake + Poco + FetchContent build options problem
-
The Curse of NixOS
Many of the necessary fixes do end up getting pushed upstream, though, thinking especially of stuff like converting CMake projects to use the GNUInstallDirs standard, so there is a benefit to the strictness work that extends beyond even just the Nix community itself.
Of course, sometimes those kinds of changes just never get merged, for a variety of well-understood open-sourcey reasons, eg: https://github.com/pocoproject/poco/pull/3105
What are some alternatives?
WebSocket++ - C++ websocket client/server library
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
Simple-WebSocket-Server
Mongoose - Embedded Web Server
Boost.Asio - Asio C++ Library