summaryrefslogtreecommitdiff
path: root/README-test-server
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2010-10-31 13:15:56 +0000
committerAndy Green <andy@warmcat.com>2010-10-31 13:15:56 +0000
commitb21497732db71060166ac59eeb7f64cef2b5fbfd (patch)
tree6967857a45ba208ace3a7a4ebee5ff94de510661 /README-test-server
parente5eafd39e572e692da1ac4cd6a81bff701e89c5f (diff)
add-README.patch
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'README-test-server')
-rw-r--r--README-test-server21
1 files changed, 21 insertions, 0 deletions
diff --git a/README-test-server b/README-test-server
new file mode 100644
index 0000000..e95c6fd
--- /dev/null
+++ b/README-test-server
@@ -0,0 +1,21 @@
+Using test-server as a quickstart
+---------------------------------
+
+# make
+# ./test-server
+
+should be enough to get a test server listening on port 7861.
+
+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.
+
+test-server.c is all that is needed to use libwebsockets for
+serving both the script html over http and websockets.
+
+2010-10-31 Andy Green <andy@warmcat.com>
+