summaryrefslogtreecommitdiff
path: root/README-test-server
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2010-11-01 09:12:17 +0000
committerAndy Green <andy@warmcat.com>2010-11-01 09:12:17 +0000
commit7310e9c77bfc8be87fe5491d0c15b3f8c6b3548f (patch)
tree91a151eca71baf15afae41d271e8c38e830f88c3 /README-test-server
parent05a0a7b02ec66c6205700e83f4f0464dfdffd4a2 (diff)
refactor-into-dirs.patch
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'README-test-server')
-rw-r--r--README-test-server9
1 files changed, 5 insertions, 4 deletions
diff --git a/README-test-server b/README-test-server
index abeb07e..bc9af54 100644
--- a/README-test-server
+++ b/README-test-server
@@ -2,7 +2,8 @@ Using test-server as a quickstart
---------------------------------
$ make
-$ ./test-server
+$ sudo make install
+$ libwebsockets-test-server
should be enough to get a test server listening on port 7861.
@@ -10,9 +11,9 @@ If you point your browser (eg, Chrome) to
http://127.0.0.1:7681
-It will fetch "test.html", and then run the script in there
-on the browser to open a websocket connection. Incrementing
-numbers should appear in the browser display.
+It will fetch "./test-server/test.html", and then run the
+script in there on the browser to open a websocket connection.
+Incrementing numbers should appear in the browser display.
test-server.c is all that is needed to use libwebsockets for
serving both the script html over http and websockets.