diff options
author | erdgeist <> | 2013-07-15 19:06:35 +0000 |
---|---|---|
committer | erdgeist <> | 2013-07-15 19:06:35 +0000 |
commit | f409a5e841d91237fe4034818955dd88167a679b (patch) | |
tree | bebaf6f812c1278357294f80b46bba8ff0883134 /vchat-client.c | |
parent | 959d7d76aec53f03463223ee64afb805e1865464 (diff) |
add a global tcp-keepalive-option. thanks to Fefe
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-x | vchat-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; | |||
43 | int ownquit = 0; | 43 | int ownquit = 0; |
44 | /* we set this, we DONT want to quit */ | 44 | /* we set this, we DONT want to quit */ |
45 | int wantreconnect = 0; | 45 | int wantreconnect = 0; |
46 | unsigned int want_tcp_keepalive = 0; | ||
47 | |||
46 | static int reconnect_delay = 6; | 48 | static int reconnect_delay = 6; |
47 | static time_t reconnect_time = 0; | 49 | static time_t reconnect_time = 0; |
48 | 50 | ||