From f409a5e841d91237fe4034818955dd88167a679b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 15 Jul 2013 19:06:35 +0000 Subject: add a global tcp-keepalive-option. thanks to Fefe --- vchat-client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vchat-client.c') diff --git a/vchat-client.c b/vchat-client.c index 71a596c..f5cd516 100755 --- a/vchat-client.c +++ b/vchat-client.c @@ -43,6 +43,8 @@ int status = 1; int ownquit = 0; /* we set this, we DONT want to quit */ int wantreconnect = 0; +unsigned int want_tcp_keepalive = 0; + static int reconnect_delay = 6; static time_t reconnect_time = 0; -- cgit v1.2.3