aboutsummaryrefslogtreecommitdiff
path: root/doc/socket.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-12-13 06:26:01 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-12-13 06:26:01 +0000
commitae2d2859e7882d553276896d499064a2407c3853 (patch)
tree42f6b31b02394157458dda179fb5f52e68a0f40e /doc/socket.html
parent4f2e036f607676493a43d5396f2f2330cfe4de66 (diff)
downloadluasocket-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.html6
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> &middot; 27<a href="home.html">home</a> &middot;
28<a href="home.html#download">download</a> &middot; 28<a href="home.html#download">download</a> &middot;
29<a href="instalation.html">instalation</a> &middot; 29<a href="installation.html">installation</a> &middot;
30<a href="introduction.html">introduction</a> &middot; 30<a href="introduction.html">introduction</a> &middot;
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> &middot; 384<a href="home.html">home</a> &middot;
385<a href="home.html#down">download</a> &middot; 385<a href="home.html#down">download</a> &middot;
386<a href="instalation.html">instalation</a> &middot; 386<a href="installation.html">installation</a> &middot;
387<a href="introduction.html">introduction</a> &middot; 387<a href="introduction.html">introduction</a> &middot;
388<a href="reference.html">reference</a> 388<a href="reference.html">reference</a>
389</p> 389</p>