summaryrefslogtreecommitdiff
path: root/app/v3_c/src/tcpserver.h.in
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-23 14:36:05 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-23 14:36:05 +0000
commitdcda721939bc81c58f66850aa21f6b6f0c64cab3 (patch)
tree4788908cfc11c7526c1e8d1491146438b10c1c3f /app/v3_c/src/tcpserver.h.in
parent31f0e4b4067901e35ba3c3c66a77e84f35e74992 (diff)
download2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.tar.gz
2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.tar.bz2
2011-usi-dcda721939bc81c58f66850aa21f6b6f0c64cab3.zip
Refactoring : myhttpd -> tcpserver et process -> dispatcher. Faisaons de belles briques bien claires d'entrée de jeu !
git-svn-id: file:///var/svn/2011-usi/trunk@15 db941bf7-0cb3-4dda-9634-87faf64f93a7
Diffstat (limited to 'app/v3_c/src/tcpserver.h.in')
-rw-r--r--app/v3_c/src/tcpserver.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/v3_c/src/tcpserver.h.in b/app/v3_c/src/tcpserver.h.in
new file mode 100644
index 0000000..14b6736
--- /dev/null
+++ b/app/v3_c/src/tcpserver.h.in
@@ -0,0 +1,10 @@
+#ifndef TCPSERVER_H
+#define TCPSERVER_H
+
+#define LISTEN_PORT 8080
+#define LISTEN_BACKLOG 5
+
+int tcpserver();
+
+#endif
+