diff options
author | Steve Bennett <steveb@workware.net.au> | 2016-04-21 18:55:58 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-08-17 15:57:39 +1000 |
commit | aef941a2b95dfa97956368a55ed24098952c6bd9 (patch) | |
tree | a382c475222c32bc2dedddbcd9f0cb060b02bd1f | |
parent | 97fd55353a2cc0b874e30a3c3ed63bf0ec2edc59 (diff) | |
download | jimtcl-aef941a2b95dfa97956368a55ed24098952c6bd9.zip jimtcl-aef941a2b95dfa97956368a55ed24098952c6bd9.tar.gz jimtcl-aef941a2b95dfa97956368a55ed24098952c6bd9.tar.bz2 |
doc: Minor doc fixes
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | jim_tcl.txt | 10 |
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. |