summaryrefslogtreecommitdiffstats
path: root/doc/socket.n
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2017-01-04 12:55:27 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2017-01-04 12:55:27 (GMT)
commit24c2365559f753a0f95ef0a45e12f7f958dae507 (patch)
treeb64499c460f8fe5e22a1aafb982247b6e9a3d4a4 /doc/socket.n
parent31f781cd8739ac3da84b4ccb9b36b9a01dc8cb42 (diff)
parentc0d313c7703e16f4ff4cc215af3c25db0f4be424 (diff)
downloadtcl-tip-456.zip
tcl-tip-456.tar.gz
tcl-tip-456.tar.bz2
TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C API to Support Passing Options to TCP Server Creationtip-456
FossilOrigin-Name: b5c47b5b2fe695bc721aff203491a6cdeea452ae
Diffstat (limited to 'doc/socket.n')
-rw-r--r--doc/socket.n10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/socket.n b/doc/socket.n
index 3efdb37..823dbd5 100644
--- a/doc/socket.n
+++ b/doc/socket.n
@@ -131,6 +131,16 @@ wildcard address so that it can accept connections from any
interface. If \fIaddr\fR is a domain name that resolves to multiple IP
addresses that are available on the local machine, the socket will
listen on all of them.
+.TP
+\fB\-reuseaddr\fI boolean\fR
+.
+Tells the kernel whether to reuse the local address if there is no socket
+actively listening on it. This is the default on Windows.
+.TP
+\fB\-reuseport\fI boolean\fR
+.
+Tells the kernel whether to allow the binding of multiple sockets to the same
+address and port.
.PP
Server channels cannot be used for input or output; their sole use is to
accept new client connections. The channels created for each incoming