I need to use WebSockets and I have installed libwebsockets-full
(2.0.3-1) (Full - OpenSSL, libuv, plugins, CGI). But I am not sure how to use it because there is no clear documentation for openwrt, It didn't install any executable, only 2 compiled library libwebsockets.so
and libwebsockets.so.8.1
is there. How can I use it using CGI?
I tried to follow libwebsockets and php and lwsws (liberbsockets webserver). Do I have to write a C program first and then compile it to use lws? Or is there any easier way? I am confused. Please help. Thank you.
(I am already using lua-websockets for my purpose (it is very easy to use) but wanted to understand libwebsockets)