-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why would I want to use civetweb for WebSockets, if this exists? #83
Comments
Oh, well at least the license is different (GPL vs MIT). |
Hi @mavavilj, Apparently, civetweb seems to be an all-in-one solution for the web: in addition to WebSockets, it provides a web server that supports CGI, Lua scripts, and SSL (also for WebSocket). Focusing solely on WebSocket, it seems to support:
From an implementation perspective, it looks quite similar to wsServer, with a thread-based approach, use of events, and so on. In general, wsServer strives to be compliant only with RFC6455, while civet seems to aim for more universality. Still, regarding this, I haven't seen compliance tests with the standard in civet (like Autobahn), so I can't say how compliant it is1. For example, I noticed that the client's close is not 'clean' if the client do not send any message. Which one should you use?
use wsServer.
As you also pointed out, there's also the licensing issue... MIT is more permissive than GPLv3... I really wanted to change the license of wsServer, but I need acknowledgment from all the committers/contributors to the project, so I haven't done it yet. Footnotes
|
Is there a chance we could see the license of wsServer change to MIT soon? |
Hi @keifufu, However, it is highly likely that I will not receive an ack from everyone in a timely manner (or any ack at all...), so the best we can do now is wait =). |
I appreciate it. I will happily wait and see where this gets us! |
I initially looked at using civetweb to run a WebSocket Server:
https://github.com/civetweb/civetweb
Then I found this library.
Now I am wondering, what point might civetweb have in comparison to this project. Civetweb seemed more popular, but this seems far simpler.
The text was updated successfully, but these errors were encountered: