diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-11 23:44:54 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-06-11 23:44:54 +0000 |
commit | 3cd10f5ab6cda5c4a8db829dd38f25168edcfc4a (patch) | |
tree | f0c49eb250f5375414025a9e7022261e729ad905 /doc | |
parent | 3074a8f56b5153f4477e662453102583d7b6f539 (diff) | |
download | luasocket-3cd10f5ab6cda5c4a8db829dd38f25168edcfc4a.tar.gz luasocket-3cd10f5ab6cda5c4a8db829dd38f25168edcfc4a.tar.bz2 luasocket-3cd10f5ab6cda5c4a8db829dd38f25168edcfc4a.zip |
Crashy bug fixed in recvraw.
Also fixed returns on closed socket.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/socket.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/socket.html b/doc/socket.html index 16a025b..f096e4b 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
@@ -190,11 +190,13 @@ be empty tables or <tt><b>nil</b></tt>. Non-socket values (or values with | |||
190 | non-numeric indices) in the arrays will be silently ignored. | 190 | non-numeric indices) in the arrays will be silently ignored. |
191 | </p> | 191 | </p> |
192 | 192 | ||
193 | <p class=return> The function returns a table with the sockets ready for | 193 | <p class=return> The function returns a list with the sockets ready for |
194 | reading, a table with the sockets ready for writing and an error message. | 194 | reading, a list with the sockets ready for writing and an error message. |
195 | The error message is "<tt>timeout</tt>" if a timeout condition was met and | 195 | The error message is "<tt>timeout</tt>" if a timeout condition was met and |
196 | <tt><b>nil</b></tt> otherwise. The returned tables are associative, to | 196 | <tt><b>nil</b></tt> otherwise. The returned tables are |
197 | simplify the test if a specific socket has changed status. | 197 | doubly keyed both by integers and also by the sockets |
198 | themselves, to simplify the test if a specific socket has | ||
199 | changed status. | ||
198 | </p> | 200 | </p> |
199 | 201 | ||
200 | <p class=note> | 202 | <p class=note> |