summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:25:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:25:25 (GMT)
commit9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2 (patch)
tree3b8d6d42b9a3c7ab328ccc0ca600be7ab6efafc3
parentc90945e7f32fce45c4a00d249c7133156ee8a45b (diff)
downloadtcl-9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2.zip
tcl-9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2.tar.gz
tcl-9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2.tar.bz2
(cherry-pick): document available TCL_TCPSERVER_* flags
-rw-r--r--doc/OpenTcp.37
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/OpenTcp.3 b/doc/OpenTcp.3
index ca26b59..e72556a 100644
--- a/doc/OpenTcp.3
+++ b/doc/OpenTcp.3
@@ -50,7 +50,7 @@ If nonzero, the client socket is connected asynchronously to the server.
.AP int backlog in
Length of OS listen backlog queue. Use -1 for default value.
.AP "unsigned int" flags in
-ORed combination of \fBTCL_TCPSERVER\fR flags that specify additional
+ORed combination of \fBTCL_TCPSERVER_*\fR flags that specify additional
informations about the socket being created.
.AP ClientData sock in
Platform-specific handle for client TCP socket.
@@ -173,7 +173,10 @@ replacement for the standard channel.
.PP
\fBTcl_OpenTcpServerEx\fR behaviour is identical to \fBTcl_OpenTcpServer\fR but
gives more flexibility to the user by providing a mean to further customize some
-aspects of the socket via the \fIflags\fR parameter.
+aspects of the socket via the \fIflags\fR parameter. Available
+flags (dependent on platform) are
+\fITCL_TCPSERVER_REUSEADDR\fR
+\fITCL_TCPSERVER_REUSEPORT\fR
.SH "PLATFORM ISSUES"
.PP
On Unix platforms, the socket handle is a Unix file descriptor as