summaryrefslogtreecommitdiffstats
path: root/src/setup.h
diff options
context:
space:
mode:
authorJohann Latocha2011-06-01 13:58:21 +0200
committerJohann Latocha2011-06-01 13:58:21 +0200
commit4e569d5fec319d4fdc95c21bd704fcd321c07305 (patch)
tree86435e8710e2de7b54f5a1f5999c0b899fc6bbe4 /src/setup.h
parentDefect #809 (diff)
downloadpvs-4e569d5fec319d4fdc95c21bd704fcd321c07305.tar.gz
pvs-4e569d5fec319d4fdc95c21bd704fcd321c07305.tar.xz
pvs-4e569d5fec319d4fdc95c21bd704fcd321c07305.zip
Enhancement #821
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup.h b/src/setup.h
index 4a21754..879db1c 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -10,4 +10,7 @@
#define SD_PORT_CONSOLE 3491 // Not really used, Qt just wants a bind
#define SD_PORT_CLIENT 3492 // This is where we expect announcements
+#define CLIENT_KEEPALIVE 5000 // Clients ping rate
+#define CLIENT_TIMEOUT 15000 // Timeout to check if clients are alive
+
#endif