aboutsummaryrefslogtreecommitdiff
path: root/doc/socket.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-02-08 10:01:01 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-02-08 10:01:01 +0000
commit8d4e240f6ae50d9b22ddc44f5e207018935da907 (patch)
treed8ca9a51dc35534592f700e42740feac20242ede /doc/socket.html
parent5d32848674b723521e87836eafa24f5ae8f80a89 (diff)
downloadluasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.tar.gz
luasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.tar.bz2
luasocket-8d4e240f6ae50d9b22ddc44f5e207018935da907.zip
Forward server working on Mac OS X...
Diffstat (limited to 'doc/socket.html')
-rw-r--r--doc/socket.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/socket.html b/doc/socket.html
index f638fd9..18c71d1 100644
--- a/doc/socket.html
+++ b/doc/socket.html
@@ -145,7 +145,10 @@ socket.<b>protect(</b>func<b>)</b>
145</p> 145</p>
146 146
147<p class=description> 147<p class=description>
148Converts a function that throws exceptions into a safe function. 148Converts a function that throws exceptions into a safe function. This
149function only catches exceptions thrown by the <a href=#try><tt>try</tt></a>
150and <a href=#newtry><tt>newtry</tt></a> functions. It does not catch normal
151Lua errors.
149</p> 152</p>
150 153
151<p class=parameters> 154<p class=parameters>
@@ -346,7 +349,9 @@ socket.<b>try(</b>ret<sub>1</sub> [, ret<sub>2</sub> ... ret<sub>N</sub>]<b>)</b
346</p> 349</p>
347 350
348<p class=description> 351<p class=description>
349Throws an exception in case of error. 352Throws an exception in case of error. The exception can only be caught
353by the <a href=#protect><tt>protect</tt></a> function. It does not explode
354into an error message.
350</p> 355</p>
351 356
352<p class=parameters> 357<p class=parameters>