Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allinurl/gwsocket
fast, standalone, language-agnostic WebSocket server RFC6455 compliant
https://github.com/allinurl/gwsocket
c rfc-6455 standalone websocket-server websockets
Last synced: 6 days ago
JSON representation
fast, standalone, language-agnostic WebSocket server RFC6455 compliant
- Host: GitHub
- URL: https://github.com/allinurl/gwsocket
- Owner: allinurl
- License: mit
- Created: 2016-05-02T04:22:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T23:20:21.000Z (3 months ago)
- Last Synced: 2024-10-29T11:32:34.281Z (about 1 month ago)
- Topics: c, rfc-6455, standalone, websocket-server, websockets
- Language: C
- Homepage: http://gwsocket.io
- Size: 275 KB
- Stars: 750
- Watchers: 31
- Forks: 67
- Open Issues: 10
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- Funding: .github/FUNDING.yml
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
- awesome - gwsocket
- awesome-starred - allinurl/gwsocket - fast, standalone, language-agnostic WebSocket server RFC6455 compliant (c)
README
What is it?
-----------
gwsocket is a standalone, simple, yet powerful rfc6455 compliant WebSocket
Server, written in C.Why?
----
I needed a simple, fast, no-dependencies, RFC6455 compliant WebSocket Server
written in C that I could use as a library for the upcoming version (v1.0) of
GoAccess by simply piping data in and out.Features
-------
* Message Fragmentation per section 5.4
* UTF-8 Handling
* Framing (Text & Binary messages)
* Multiplexed non-blocking network I/O
* Ability to pipe data in/out in two different modes (stdin/stdout & strict mode)
* It passes the Autobahn Testsuite :)
* and of course, Valgrind tested.
* missing something?, please feel free to post it on Github.How it Works?
-------------
Very simple, just pipe your data out of your application and let gwsocket do
the rest. e.g.: tail -f /var/log/nginx/access.log > /tmp/wspipein.fifoBy the way, you can also pipe the client's data into your application.
Note: You can even send your favorite NCurses program's output. See
https://github.com/allinurl/gwsocket.More Examples?
-------------
Looking for more examples and details on how it works? Head to the man page for
more details. Or visit http://gwsocket.io