中文)
libuwsc(A Lightweight and fully asynchronous WebSocket client library based on libev for Embedded Linux.
Keep Watching for More Actions on This Space
Why should I choose libev?
libev tries to follow the UNIX toolbox philosophy of doing one thing only, as good as possible.
Dependencies
- libev
- openssl - If you choose openssl as your SSL backend
- mbedtls(polarssl) - If you choose mbedtls as your SSL backend
- cyassl(wolfssl) - If you choose wolfssl as your SSL backend
Install dependent packages
sudo apt int libev-dev libssl-dev
Configure
See which configuration are supported
~/libuwsc/$ mkdir build && cd build
~/libuwsc/build$ cmake .. -L
~/libuwsc/build$ cmake .. -LH
Build and install
~/libuwsc/build$ make && sudo make install
Install on OpenWrt
opkg update
opkg list | grep libuwsc
opkg install libuwsc-nossl
If the install command fails, you can compile it yourself.
Contributing
If you would like to help making libuwsc better, see the CONTRIBUTING.md file.