refactor-into-dirs.patch
[profile/ivi/libwebsockets.git] / README-test-server
1 Using test-server as a quickstart
2 ---------------------------------
3
4 $ make
5 $ sudo make install
6 $ libwebsockets-test-server
7
8 should be enough to get a test server listening on port 7861.
9
10 If you point your browser (eg, Chrome) to
11
12   http://127.0.0.1:7681
13
14 It will fetch "./test-server/test.html", and then run the
15 script in there on the browser to open a websocket connection.
16 Incrementing numbers should appear in the browser display.
17
18 test-server.c is all that is needed to use libwebsockets for
19 serving both the script html over http and websockets.
20
21 2010-10-31  Andy Green <andy@warmcat.com>
22