diff options
| author | Nakidai <nakidai@disroot.org> | 2025-07-09 18:17:21 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-07-09 18:17:21 +0300 |
| commit | 7c625e57d8bf86196fa434fa2343c50582cdbc9e (patch) | |
| tree | 1afc167d41155eaae2a2c1544b8dc528bc275530 /config-farsh.h | |
| download | farsh-1.0.0.tar.gz farsh-1.0.0.zip | |
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 */ + |