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)
commit12f22db7d88ada7a15f6c0371b6dc49ef02d698d (patch)
treecf045752b34e085723d0e216697074beb69b5272
parent9beca91cdb7a2ec0338d6d0bfaea66dd2da8e35d (diff)
downloadtcl-12f22db7d88ada7a15f6c0371b6dc49ef02d698d.zip
tcl-12f22db7d88ada7a15f6c0371b6dc49ef02d698d.tar.gz
tcl-12f22db7d88ada7a15f6c0371b6dc49ef02d698d.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