summaryrefslogtreecommitdiffstats
path: root/doc/OpenTcp.3
diff options
context:
space:
mode:
authorlimeboy <that.lemon+tcl@gmai.com>2016-12-14 16:03:53 (GMT)
committerlimeboy <that.lemon+tcl@gmai.com>2016-12-14 16:03:53 (GMT)
commitdfbc8a629679c709f7f7661bbdc2094f8bb43ff7 (patch)
treee48ca57188c804e306fdd5c7e0aaee0f121bd763 /doc/OpenTcp.3
parentcbe4a7dae5d19875cc5634ba423e5a2942191946 (diff)
downloadtcl-dfbc8a629679c709f7f7661bbdc2094f8bb43ff7.zip
tcl-dfbc8a629679c709f7f7661bbdc2094f8bb43ff7.tar.gz
tcl-dfbc8a629679c709f7f7661bbdc2094f8bb43ff7.tar.bz2
Update the documentation
Diffstat (limited to 'doc/OpenTcp.3')
-rw-r--r--doc/OpenTcp.35
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/OpenTcp.3 b/doc/OpenTcp.3
index a39f6f6..10a4815 100644
--- a/doc/OpenTcp.3
+++ b/doc/OpenTcp.3
@@ -24,7 +24,7 @@ Tcl_Channel
\fBTcl_OpenTcpServer\fR(\fIinterp, port, myaddr, proc, clientData\fR)
.sp
Tcl_Channel
-\fBTcl_OpenTcpServerEx\fR(\fIinterp, port, myaddr, flags, proc, clientData\fR)
+\fBTcl_OpenTcpServerEx\fR(\fIinterp, service, myaddr, flags, proc, clientData\fR)
.sp
.SH ARGUMENTS
.AS Tcl_TcpAcceptProc clientData
@@ -33,6 +33,9 @@ Tcl interpreter to use for error reporting. If non-NULL and an
error occurs, an error message is left in the interpreter's result.
.AP int port in
A port number to connect to as a client or to listen on as a server.
+.AP "const char" *service in
+A string specifying the port number to connect to as a client or to listen on as
+ a server.
.AP "const char" *host in
A string specifying a host name or address for the remote end of the connection.
.AP int myport in