diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/socket.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/socket.html b/doc/socket.html index fec09c4..a99d71b 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
@@ -243,7 +243,9 @@ non-numeric indices) in the arrays will be silently ignored. | |||
243 | 243 | ||
244 | <p class=return> The function returns a list with the sockets ready for | 244 | <p class=return> The function returns a list with the sockets ready for |
245 | reading, a list with the sockets ready for writing and an error message. | 245 | reading, a list with the sockets ready for writing and an error message. |
246 | The error message is "<tt>timeout</tt>" if a timeout condition was met and | 246 | The error message is "<tt>timeout</tt>" if a timeout |
247 | condition was met, "<tt>select failed</tt>" if the call | ||
248 | to <tt>select</tt> failed, and | ||
247 | <tt><b>nil</b></tt> otherwise. The returned tables are | 249 | <tt><b>nil</b></tt> otherwise. The returned tables are |
248 | doubly keyed both by integers and also by the sockets | 250 | doubly keyed both by integers and also by the sockets |
249 | themselves, to simplify the test if a specific socket has | 251 | themselves, to simplify the test if a specific socket has |
@@ -251,7 +253,7 @@ changed status. | |||
251 | </p> | 253 | </p> |
252 | 254 | ||
253 | <p class=note> | 255 | <p class=note> |
254 | <b>Note: </b>: <tt>select</tt> can monitor a limited number | 256 | <b>Note:</b> <tt>select</tt> can monitor a limited number |
255 | of sockets, as defined by the constant <tt>socket._SETSIZE</tt>. This | 257 | of sockets, as defined by the constant <tt>socket._SETSIZE</tt>. This |
256 | number may be as high as 1024 or as low as 64 by default, | 258 | number may be as high as 1024 or as low as 64 by default, |
257 | depending on the system. It is usually possible to change this | 259 | depending on the system. It is usually possible to change this |