summaryrefslogtreecommitdiffstats
path: root/examples/network/httpd/httpd.doc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/httpd/httpd.doc')
-rw-r--r--examples/network/httpd/httpd.doc20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/network/httpd/httpd.doc b/examples/network/httpd/httpd.doc
new file mode 100644
index 000000000..de1e0be9f
--- /dev/null
+++ b/examples/network/httpd/httpd.doc
@@ -0,0 +1,20 @@
+/*
+*/
+
+/*! \page httpd-example.html
+
+ \ingroup network-examples
+
+ \title A simple HTTP daemon
+
+ This example shows how to use the QServerSocket class. It is a very
+ simple implementation of a HTTP daemon that listens on port 8080 and
+ sends back a simple HTML page back for every GET request it gets. After
+ sending the page, it closes the connection.
+
+ <hr>
+
+ Implementation (httpd.cpp):
+
+ \include network/httpd/httpd.cpp
+*/