summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 35e5647..2668410 100644
--- a/src/config.h
+++ b/src/config.h
@@ -37,7 +37,8 @@
// No payload allowed exceeding this many bytes (actual data from client->server is not affected by this limit!)
#define MAX_PAYLOAD 1000
-#define SOCKET_TIMEOUT_SERVER 30
+// in seconds if not stated otherwise (MS = milliseconds)
+#define SOCKET_TIMEOUT_SERVER_MS 30000
#define SOCKET_TIMEOUT_CLIENT_DATA 2
#define SOCKET_TIMEOUT_CLIENT_DISCOVERY 1