diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-13 06:26:01 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-13 06:26:01 +0000 |
commit | ae2d2859e7882d553276896d499064a2407c3853 (patch) | |
tree | 42f6b31b02394157458dda179fb5f52e68a0f40e /doc/socket.html | |
parent | 4f2e036f607676493a43d5396f2f2330cfe4de66 (diff) | |
download | luasocket-ae2d2859e7882d553276896d499064a2407c3853.tar.gz luasocket-ae2d2859e7882d553276896d499064a2407c3853.tar.bz2 luasocket-ae2d2859e7882d553276896d499064a2407c3853.zip |
Spell checked the manual.
Diffstat (limited to 'doc/socket.html')
-rw-r--r-- | doc/socket.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/socket.html b/doc/socket.html index 956993b..f638fd9 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
@@ -26,7 +26,7 @@ | |||
26 | <p class=bar> | 26 | <p class=bar> |
27 | <a href="home.html">home</a> · | 27 | <a href="home.html">home</a> · |
28 | <a href="home.html#download">download</a> · | 28 | <a href="home.html#download">download</a> · |
29 | <a href="instalation.html">instalation</a> · | 29 | <a href="installation.html">installation</a> · |
30 | <a href="introduction.html">introduction</a> · | 30 | <a href="introduction.html">introduction</a> · |
31 | <a href="reference.html">reference</a> | 31 | <a href="reference.html">reference</a> |
32 | </p> | 32 | </p> |
@@ -129,7 +129,7 @@ foo = socket.protect(function() | |||
129 | -- create a try function that closes 'c' on error | 129 | -- create a try function that closes 'c' on error |
130 | local try = socket.newtry(function() c:close() end) | 130 | local try = socket.newtry(function() c:close() end) |
131 | -- do everything reassured c will be closed | 131 | -- do everything reassured c will be closed |
132 | try(c:send("helo there?\r\n")) | 132 | try(c:send("hello there?\r\n")) |
133 | local answer = try(c:receive()) | 133 | local answer = try(c:receive()) |
134 | ... | 134 | ... |
135 | try(c:send("good bye\r\n")) | 135 | try(c:send("good bye\r\n")) |
@@ -383,7 +383,7 @@ This constant has a string describing the current LuaSocket version. | |||
383 | <p class=bar> | 383 | <p class=bar> |
384 | <a href="home.html">home</a> · | 384 | <a href="home.html">home</a> · |
385 | <a href="home.html#down">download</a> · | 385 | <a href="home.html#down">download</a> · |
386 | <a href="instalation.html">instalation</a> · | 386 | <a href="installation.html">installation</a> · |
387 | <a href="introduction.html">introduction</a> · | 387 | <a href="introduction.html">introduction</a> · |
388 | <a href="reference.html">reference</a> | 388 | <a href="reference.html">reference</a> |
389 | </p> | 389 | </p> |