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)
commitb8271467dc712230e7eecf2818f7232c2ebda8b4 (patch)
treee48ca57188c804e306fdd5c7e0aaee0f121bd763 /doc/OpenTcp.3
parenta63b9bacf55e153bdb8f470146bf3056156b29e6 (diff)
downloadtcl-b8271467dc712230e7eecf2818f7232c2ebda8b4.zip
tcl-b8271467dc712230e7eecf2818f7232c2ebda8b4.tar.gz
tcl-b8271467dc712230e7eecf2818f7232c2ebda8b4.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