summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-11-17 20:50:39 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-11-17 20:50:39 +0000
commit70717648cbe4c61c111a83f4f12aec8e33560cf5 (patch)
tree62fc2dc7e2de59a34bb77ee921cc9b246398b5be /share
parent8feca4e78d9833505fd5ae970866c5b5721fa36b (diff)
explain tcp socketoptions, there are more than just TCP_NODELAY.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/tcp.412
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index ebaab5f6d51..ff6d55050c1 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -104,10 +104,12 @@ through which packets are being transmitted and received. Normally
this address corresponds to the peer entity's network.
.Pp
.Tn TCP
-supports one socket option which is set with
+supports several socket options which are set with
.Xr setsockopt 2
and tested with
.Xr getsockopt 2 .
+.Bl -ohang
+.It Cd TCP_NODELAY
Under most circumstances,
.Tn TCP
sends data when it is presented;
@@ -124,6 +126,14 @@ provides a boolean option,
(from
.Aq Pa netinet/tcp.h ,
to defeat this algorithm.
+.It Cd TCP_MAXSEG
+Set the maximum segment size for this connection. The maximum segment
+size can only be lowered.
+.It Cd TCP_SACK_DISABLE
+Do not use selective acknowledgements for this connection. See
+.Xr options 4 .
+.El
+.Pp
The option level for the
.Xr setsockopt
call is the protocol number for