From f143501b4ef1a78830279114dea12530239fe787 Mon Sep 17 00:00:00 2001 From: Tiiffi Date: Mon, 1 Dec 2025 21:26:54 +0200 Subject: [PATCH] Change timeout from 5s to 2s --- mcrcon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mcrcon.c b/mcrcon.c index 4fb88f4..ae97e7a 100755 --- a/mcrcon.c +++ b/mcrcon.c @@ -684,6 +684,7 @@ int rcon_command(int sock, char *command) // Set 5 second timeout struct timeval timeout = {0}; timeout.tv_sec = 5; + timeout.tv_sec = 2; timeout.tv_usec = 0; uint8_t last_character = '\0';