From 9861145fc09a8912f828d3a234f38ce7fbd20ce8 Mon Sep 17 00:00:00 2001 From: osiris-plus <65327967+osiris-plus@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:09:26 +0300 Subject: [PATCH] fix not working when sending with netcat for some reason it times out when trying to read a line from socket connection --- lua/luadev/socketdev.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/luadev/socketdev.lua b/lua/luadev/socketdev.lua index 57e1ad6..3c5e491 100644 --- a/lua/luadev/socketdev.lua +++ b/lua/luadev/socketdev.lua @@ -127,7 +127,7 @@ hook.Add("Think", "LuaDev-Socket", function() return end - cl:settimeout(0) + cl:settimeout(1) local protocol = cl:receive("*l") local method