diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/installation.html | 8 | ||||
-rw-r--r-- | doc/socket.html | 7 |
2 files changed, 4 insertions, 11 deletions
diff --git a/doc/installation.html b/doc/installation.html index c8eb5d9..f293de6 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
@@ -69,22 +69,22 @@ independent files. Let's call these directories <tt><LIB></tt> | |||
69 | and <tt><SHARE></tt>, respectively. | 69 | and <tt><SHARE></tt>, respectively. |
70 | For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for | 70 | For instance, in my laptop, I use '<tt>/usr/local/lib/lua/5.0</tt>' for |
71 | <tt><LIB></tt> and '<tt>/usr/local/share/lua/5.0</tt>' for | 71 | <tt><LIB></tt> and '<tt>/usr/local/share/lua/5.0</tt>' for |
72 | <tt><SHARE></tt>. On Windows, only one directory is used, say | 72 | <tt><SHARE></tt>. On Windows, sometimes only one directory is used, say |
73 | '<tt>c:\program files\lua\5.0</tt>'. Here is the standard LuaSocket | 73 | '<tt>c:\program files\lua\5.0</tt>'. Here is the standard LuaSocket |
74 | distribution directory structure:</p> | 74 | distribution directory structure:</p> |
75 | 75 | ||
76 | <pre class=example> | 76 | <pre class=example> |
77 | <SHARE>/compat-5.1.lua | 77 | <SHARE>/compat-5.1.lua |
78 | <SHARE>/ltn12.lua | 78 | <SHARE>/ltn12.lua |
79 | <SHARE>/mime/mime.lua | 79 | <SHARE>/socket.lua |
80 | <LIB>/mime/core.dll | ||
81 | <SHARE>/socket/socket.lua | ||
82 | <LIB>/socket/core.dll | 80 | <LIB>/socket/core.dll |
83 | <SHARE>/socket/http.lua | 81 | <SHARE>/socket/http.lua |
84 | <SHARE>/socket/tp.lua | 82 | <SHARE>/socket/tp.lua |
85 | <SHARE>/socket/ftp.lua | 83 | <SHARE>/socket/ftp.lua |
86 | <SHARE>/socket/smtp.lua | 84 | <SHARE>/socket/smtp.lua |
87 | <SHARE>/socket/url.lua | 85 | <SHARE>/socket/url.lua |
86 | <SHARE>/mime.lua | ||
87 | <LIB>/mime/core.dll | ||
88 | </pre> | 88 | </pre> |
89 | 89 | ||
90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> | 90 | <p> Naturally, on Unix systems, <tt>core.dll</tt> |
diff --git a/doc/socket.html b/doc/socket.html index 82e958a..d050a42 100644 --- a/doc/socket.html +++ b/doc/socket.html | |||
@@ -210,13 +210,6 @@ Use the <a href=tcp.html#settimeout><tt>settimeout</tt></a> | |||
210 | method or <tt>accept</tt> might block forever. | 210 | method or <tt>accept</tt> might block forever. |
211 | </p> | 211 | </p> |
212 | 212 | ||
213 | <p class=note> | ||
214 | Interesting note: as mentioned in some Unix manuals, calling select with both | ||
215 | sets empty and a non-null timeout is a fairly portable way to sleep with | ||
216 | sub-second precision (<b>except it doesn't work on Windows</b>). | ||
217 | </p> | ||
218 | |||
219 | |||
220 | <!-- sink ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 213 | <!-- sink ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
221 | 214 | ||
222 | <p class=name id=sink> | 215 | <p class=name id=sink> |