summary refs log tree commit diff
path: root/config-common.h
blob: 64c1840c6bfa79d3bc9d00b2a630e726bde0981c (plain)
1
2
3
4
5
6
7
8
9
10
/* common config */

#define PASSWORD_BUF_SZ 512 /* 256 russian utf8 chars */
#define MAX_PKT_SZ 1024
#define TIMEOUT_D  180 /* timeout (no packets) in seconds for disconnect */

/* send packet every X microseconds, where
 * PKT_INT  >=  X  >=  PKT_INT - MIN_SLEEP */
#define MIN_SLEEP 3000