aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jim_tcl.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index ca9eae6..5c6e206 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -4622,7 +4622,7 @@ Time-based execution is also available via the eventloop API.
match an event.
+*vwait* 'variable'+::
- A call to `vwait` is enters the eventloop. `vwait` processes
+ A call to `vwait` enters the eventloop. `vwait` processes
events until the named (global) variable changes or all
event handlers are removed. The variable need not exist
beforehand. If there are no event handlers defined, `vwait`
@@ -4684,12 +4684,12 @@ address.
The returned value is channel and may generally be used with the various file I/O
commands (gets, puts, read, etc.), either as object-based syntax or Tcl-compatible syntax.
- set f [socket stream www.google.com:80]
+ . set f [socket stream www.google.com:80]
aio.sockstream1
- $f puts -nonewline "GET / HTTP/1.0\r\n\r\n"
- $f gets
+ . $f puts -nonewline "GET / HTTP/1.0\r\n\r\n"
+ . $f gets
HTTP/1.0 302 Found
- $f close
+ . $f close
Server sockets, however support only 'accept', which is most useful in conjunction with
the EVENTLOOP API.