Libwebsockets Home page
http://libwebsockets.org/trac/libwebsockets
Openwrt Makefile:
https://github.com/warmcat/libwebsockets/blob/master/cross-openwrt-makefile
Download software:
wget -O libwebsockets_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk https://www.dropbox.com/s/r4lx1etrdaadc3o/libwebsockets_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk?dl=0 --no-check-certificate wget -O libwebsockets-examples_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk https://www.dropbox.com/s/yt55xof23nte802/libwebsockets-examples_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk?dl=0 --no-check-certificate
Install software:
opkg install libwebsockets_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk opkg install libwebsockets-examples_2014-03-01-388dc7d201d8d123841869fb49ec4d94d6dd7f54_ar71xx.ipk
Testing:
libwebsockets-test-echo --client echo.websocket.org [412266:8359] NOTICE: Built to support client operations [412266:8373] NOTICE: Built to support server operations lwsts[13418]: libwebsockets echo test - (C) Copyright 2010-2013 Andy Green <[email protected]> - licensed under LGPL2.1 lwsts[13418]: Running in client mode lwsts[13418]: Initial logging level 7 lwsts[13418]: Library version: 1.3 e81b29b lwsts[13418]: Started with daemon pid 0 lwsts[13418]: static allocation: 4456 + (12 x 2024 fds) = 16744 bytes lwsts[13418]: canonical_hostname = Arduino lwsts[13418]: Client connecting to echo.websocket.org:80.... lwsts[13418]: Client connected to echo.websocket.org:80 lwsts[13418]: Client has connected lwsts[13418]: Client TX: hello from libwebsockets-test-echo client pid 13418 index 0
Comments powered by CComment