aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 255d12b..d6172b9 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -4431,14 +4431,16 @@ See `open` and `socket` for commands which return an I/O handle.
aio
~~~
-+$handle *accept*+::
- Server socket only: Accept a connection and return stream
++$handle *accept* ?addrvar?+::
+ Server socket only: Accept a connection and return stream.
+ If +'addrvar'+ is specified, the address of the connected client is stored
+ in the named variable in the form 'addr:port'. See `socket` for details.
+$handle *buffering none|line|full*+::
Sets the buffering mode of the stream.
+$handle *close* ?r(ead)|w(rite)?+::
- Closes the stream.
+ Closes the stream.
The two-argument form is a "half-close" on a socket. See the +shutdown(2)+ man page.
+$handle *copyto* 'tofd ?size?'+::