From c6cda1f8219c581aeb22afe1c3a8ebf55acf215f Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 13 Oct 2005 07:01:26 +0000
Subject: [PATCH] Moved KEEPALIVE into a [tcp] section (only valid for TCP
 sockets).

---
 ctrl/sockopts.ini | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ctrl/sockopts.ini b/ctrl/sockopts.ini
index ecf06b0ad1..d9e2c1e58f 100644
--- a/ctrl/sockopts.ini
+++ b/ctrl/sockopts.ini
@@ -15,7 +15,7 @@
 ; SNDTIMEO
 ; RCVTIMEO
 ; REUSEADDR
-; KEEPALIVE
+; KEEPALIVE <- TCP only
 ; DONTROUTE
 ; BROADCAST
 ; OOBINLINE
@@ -24,9 +24,11 @@
 ; On some Unix platforms, additional TCP_* options are supported
 
 ; LINGER = 5
-KEEPALIVE = 1
 SNDBUF = 8192
 RCVBUF = 8192
 
+[tcp]
+KEEPALIVE = 1
+
 [bbs]
 TCP_NODELAY = 1
-- 
GitLab