summaryrefslogtreecommitdiff
path: root/app/v3_c/src/include/tcpserver.h
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-25 16:20:29 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-01-25 16:20:29 +0000
commit6374516e063e49ca313329a68f9c5f0dd16713ae (patch)
treeecfc6c8686bf9aa2d49a40ff2181ccfbd3448e06 /app/v3_c/src/include/tcpserver.h
parentdcda721939bc81c58f66850aa21f6b6f0c64cab3 (diff)
download2011-usi-6374516e063e49ca313329a68f9c5f0dd16713ae.tar.gz
2011-usi-6374516e063e49ca313329a68f9c5f0dd16713ae.tar.bz2
2011-usi-6374516e063e49ca313329a68f9c5f0dd16713ae.zip
Correction de quelques trucs oubliés dans le refactoring précédent. La gestion de signaux est remontée dans le main (pas fonctionnellement lié au serveur TCP).
git-svn-id: file:///var/svn/2011-usi/trunk@16 db941bf7-0cb3-4dda-9634-87faf64f93a7
Diffstat (limited to 'app/v3_c/src/include/tcpserver.h')
-rw-r--r--app/v3_c/src/include/tcpserver.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/v3_c/src/include/tcpserver.h b/app/v3_c/src/include/tcpserver.h
new file mode 100644
index 0000000..14b6736
--- /dev/null
+++ b/app/v3_c/src/include/tcpserver.h
@@ -0,0 +1,10 @@
+#ifndef TCPSERVER_H
+#define TCPSERVER_H
+
+#define LISTEN_PORT 8080
+#define LISTEN_BACKLOG 5
+
+int tcpserver();
+
+#endif
+