From 7c625e57d8bf86196fa434fa2343c50582cdbc9e Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 9 Jul 2025 18:17:21 +0300 Subject: Add code --- config-farsh.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config-farsh.h (limited to 'config-farsh.h') 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 */ + -- cgit 1.4.1