summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbch <brad.harder@gmail.com>2023-10-16 18:39:51 (GMT)
committerbch <brad.harder@gmail.com>2023-10-16 18:39:51 (GMT)
commitef59242a2b952b5fede0131ca5c06acc36098a2c (patch)
treecf045752b34e085723d0e216697074beb69b5272
parent982c7a7ddc9cc829a454029f0f81b3da7f905a29 (diff)
downloadtcl-ef59242a2b952b5fede0131ca5c06acc36098a2c.zip
tcl-ef59242a2b952b5fede0131ca5c06acc36098a2c.tar.gz
tcl-ef59242a2b952b5fede0131ca5c06acc36098a2c.tar.bz2
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 5a0f559..602f081 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 void *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