diff options
Diffstat (limited to 'config-farsh.h')
| -rw-r--r-- | config-farsh.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config-farsh.h b/config-farsh.h new file mode 100644 index 0000000..4465b31 --- /dev/null +++ b/config-farsh.h @@ -0,0 +1,8 @@ +/* client config */ + +#define DISCONNECT_KEY '~' /* press ESC and this key to disconnect */ +#define PKT_INT 24000u /* packet sending interval in microseconds */ +#define RB_SZ 0x1000u /* ring buf size, 4kb, must be power of 2, 64kb max */ +#define TIMEOUT_P 10 /* timeout (no packets) in seconds for send ping */ +#define TIMEOUT_C 5 /* connection timeout in seconds */ + |