https://github.com/payden/libwebsock
libwebsock
C library for easy WebSockets servers.
This library allows a developer to quickly develop WebSocket servers by focusing on the actual logic of your WebSocket implementation instead of the details of the WebSocket protocol or even specifics of C sockets.
Installation instructions can be found here.
API reference & usage instructions can be found here.
To get started, have a look at echo.c in the examples directory of the package. A simple echo server is implemented.
You can find the latest autobahn test results here.
Current Travis CI Build Status:
Features
- Callbacks for events
- SSL Support
- Easy to use
- Uses libevent for portability (tested on Linux/FreeBSD)
- IPv6 support
- No failures on Autobahn Test suite
for aclocal not found error!!!
Installing aclocal
-
sudo apt-get install autotools-dev
-
sudo apt-get install automake
For cannot open shared object file: No such file or directory error
vim /etc/environment
add /usr/local/lib
source /etc/environment
ldconfig