summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-09-21 07:18:54 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-09-21 07:18:54 +0000
commit1e2f621ea8d6bc2703734b38f3f94d2d8fa6876f (patch)
treebeb25752233b7c7d34eeccfc9537cc0670b4b73c
parent00dd92d0815e31a8b04bbd02c84daa58aed98f33 (diff)
downloadopenvpn-1e2f621ea8d6bc2703734b38f3f94d2d8fa6876f.tar.gz
openvpn-1e2f621ea8d6bc2703734b38f3f94d2d8fa6876f.tar.xz
openvpn-1e2f621ea8d6bc2703734b38f3f94d2d8fa6876f.zip
Documented --socket-flags and the TCP_NODELAY flag.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1276 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--openvpn.817
1 files changed, 17 insertions, 0 deletions
diff --git a/openvpn.8 b/openvpn.8
index e2ac64b..69ee88e 100644
--- a/openvpn.8
+++ b/openvpn.8
@@ -1401,6 +1401,23 @@ Set the TCP/UDP socket receive buffer size.
Currently defaults to 65536 bytes.
.\"*********************************************************
.TP
+.B --socket-flags flags...
+Apply the given flags to the OpenVPN transport socket.
+Currently, only
+.B TCP_NODELAY
+is supported.
+
+The
+.B TCP_NODELAY
+socket flag is useful in TCP mode, and causes the kernel
+to send tunnel packets immediately over the TCP connection without
+trying to group several smaller packets into a larger packet.
+This can result in a considerably improvement in latency.
+
+This option is pushable from server to client, and should be used
+on both client and server for maximum effect.
+.\"*********************************************************
+.TP
.B --txqueuelen n
(Linux only) Set the TX queue length on the TUN/TAP interface.
Currently defaults to 100.