blob: abeb07e7889b1222a2f92abca7a558949562239d [file] [log] [blame]
Andy Greenb2149772010-10-31 13:15:56 +00001Using test-server as a quickstart
2---------------------------------
3
Andy Green05a0a7b2010-10-31 17:51:39 +00004$ make
5$ ./test-server
Andy Greenb2149772010-10-31 13:15:56 +00006
7should be enough to get a test server listening on port 7861.
8
9If you point your browser (eg, Chrome) to
10
11 http://127.0.0.1:7681
12
13It will fetch "test.html", and then run the script in there
14on the browser to open a websocket connection. Incrementing
15numbers should appear in the browser display.
16
17test-server.c is all that is needed to use libwebsockets for
18serving both the script html over http and websockets.
19
202010-10-31 Andy Green <andy@warmcat.com>
21