/* 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