aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2016-03-04 14:38:56 -0300
committerDiego Nehab <diego.nehab@gmail.com>2016-03-04 14:38:56 -0300
commitcdce73b226cc4da6a073b79bec02a6780d32ff1a (patch)
treef47dd46096b92b520607d11cb81ac3376a12976c /doc
parentfe7b37acedd61f425b8d0b0531e78cc45554b332 (diff)
downloadluasocket-cdce73b226cc4da6a073b79bec02a6780d32ff1a.tar.gz
luasocket-cdce73b226cc4da6a073b79bec02a6780d32ff1a.tar.bz2
luasocket-cdce73b226cc4da6a073b79bec02a6780d32ff1a.zip
Added support for FTP command lists
Diffstat (limited to 'doc')
-rw-r--r--doc/socket.html6
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
245reading, a list with the sockets ready for writing and an error message. 245reading, a list with the sockets ready for writing and an error message.
246The error message is "<tt>timeout</tt>" if a timeout condition was met and 246The error message is "<tt>timeout</tt>" if a timeout
247condition was met, "<tt>select failed</tt>" if the call
248to <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
248doubly keyed both by integers and also by the sockets 250doubly keyed both by integers and also by the sockets
249themselves, to simplify the test if a specific socket has 251themselves, 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
255of sockets, as defined by the constant <tt>socket._SETSIZE</tt>. This 257of sockets, as defined by the constant <tt>socket._SETSIZE</tt>. This
256number may be as high as 1024 or as low as 64 by default, 258number may be as high as 1024 or as low as 64 by default,
257depending on the system. It is usually possible to change this 259depending on the system. It is usually possible to change this