summaryrefslogtreecommitdiffstats
path: root/doc/socket.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-04 14:19:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-04 14:19:52 (GMT)
commitb5273bc1fa5f55149f34824435b65ea807794abc (patch)
tree5df08d95415ee2546150f3fcfe45ce1ddcb4e499 /doc/socket.n
parentcdba31b9d5e939cc2f78069f835b086c5aa85a70 (diff)
parentce501f14c53a6a094e48453148d08a3e82cfde9a (diff)
downloadtcl-b5273bc1fa5f55149f34824435b65ea807794abc.zip
tcl-b5273bc1fa5f55149f34824435b65ea807794abc.tar.gz
tcl-b5273bc1fa5f55149f34824435b65ea807794abc.tar.bz2
merge trunk
Diffstat (limited to 'doc/socket.n')
-rw-r--r--doc/socket.n14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/socket.n b/doc/socket.n
index 275771d..823dbd5 100644
--- a/doc/socket.n
+++ b/doc/socket.n
@@ -98,9 +98,9 @@ asynchronous connection has succeeded or failed. See the \fBvwait\fR
and the \fBchan\fR commands for more details on the event loop and
channel events.
.PP
-The \fBchan configure\fR option \fB-connecting\fR may be used to check if the connect is still running. To verify a successful connect, the option \fB-error\fR may be checked when \fB-connecting\fR returned 0.
+The \fBchan configure\fR option \fB-connecting\fR may be used to check if the connect is still running. To verify a successful connect, the option \fB-error\fR may be checked when \fB-connecting\fR returned 0.
.PP
-Operation without the event queue requires at the moment calls to \fBchan configure\fR to advance the internal state machine.
+Operation without the event queue requires at the moment calls to \fBchan configure\fR to advance the internal state machine.
.RE
.SH "SERVER SOCKETS"
.PP
@@ -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