diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
| commit | 0a4c1534f39511894728da193ab8225ad6022de9 (patch) | |
| tree | 683b711accf64eca486b138cbc034c609f93a53a /doc/socket.html | |
| parent | 8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (diff) | |
| download | luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.gz luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.bz2 luasocket-0a4c1534f39511894728da193ab8225ad6022de9.zip | |
Still work to do in the manual...
Diffstat (limited to 'doc/socket.html')
| -rw-r--r-- | doc/socket.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/socket.html b/doc/socket.html index dbfdaed..b3fbb6e 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
| @@ -164,7 +164,7 @@ source from a stream socket object. | |||
| 164 | </p> | 164 | </p> |
| 165 | 165 | ||
| 166 | <p class=parameters> | 166 | <p class=parameters> |
| 167 | <tt>Mode</tt> defines the behaviour of the source. The following | 167 | <tt>Mode</tt> defines the behavior of the source. The following |
| 168 | options are available: | 168 | options are available: |
| 169 | </p> | 169 | </p> |
| 170 | <ul> | 170 | <ul> |
| @@ -194,15 +194,16 @@ Throws an exception in case of error. | |||
| 194 | </p> | 194 | </p> |
| 195 | 195 | ||
| 196 | <p class=parameters> | 196 | <p class=parameters> |
| 197 | </b>Ret<sub>1</sub>, ret<sub>2</sub> ... ret<sub>N</sub> can be arbitrary | 197 | <tt>Ret</tt><sub>1</sub>, <tt>ret</tt><sub>2</sub> ... <tt>ret</tt><sub>N</sub> can be arbitrary |
| 198 | arguments, but are usually the return values of a function call that | 198 | arguments, but are usually the return values of a function call that |
| 199 | nested with the call to <tt>try</tt>. | 199 | nested with the call to <tt>try</tt>. |
| 200 | </p> | 200 | </p> |
| 201 | 201 | ||
| 202 | <p class=return> | 202 | <p class=return> |
| 203 | The function returns ret<sub>1</sub>, ret<sub>2</sub> ... ret<sub>N</sub> if | 203 | The function returns <tt>ret</tt><sub>1</sub>, <tt>ret</tt><sub>2</sub> ... |
| 204 | ret<sub>1</sub> is not <tt><b>nil</b></tt>. Otherwise, calls <tt>error</tt> | 204 | <tt>ret</tt><sub>N</sub> if |
| 205 | passing ret<sub>2</sub>. | 205 | <tt>ret</tt><sub>1</sub> is not <tt><b>nil</b></tt>. Otherwise, calls <tt>error</tt> |
| 206 | passing <tt>ret</tt><sub>2</sub>. | ||
| 206 | </p> | 207 | </p> |
| 207 | 208 | ||
| 208 | <pre class=example> | 209 | <pre class=example> |
