diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:16:17 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-10-05 03:16:17 +0000 |
commit | 72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4 (patch) | |
tree | 8ad4d77c2a5889748afa164188d566570028a513 /doc | |
parent | a65c599fc5014de278d10c64fa0e425149517fe8 (diff) | |
download | luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.gz luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.bz2 luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.zip |
Bugs sent by David.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ftp.html | 4 | ||||
-rw-r--r-- | doc/http.html | 2 | ||||
-rw-r--r-- | doc/installation.html | 11 | ||||
-rw-r--r-- | doc/smtp.html | 2 |
4 files changed, 11 insertions, 8 deletions
diff --git a/doc/ftp.html b/doc/ftp.html index 8b7ed96..1886344 100644 --- a/doc/ftp.html +++ b/doc/ftp.html | |||
@@ -140,7 +140,7 @@ authentication. Defaults to "<tt>ftp:anonymous@anonymous.org</tt>"; | |||
140 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> | 140 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> |
141 | pump step function used to pass data from the | 141 | pump step function used to pass data from the |
142 | server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; | 142 | server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; |
143 | <li><tt>accept</tt>: An optional function to be used instead of | 143 | <li><tt>create</tt>: An optional function to be used instead of |
144 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | 144 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. |
145 | </ul> | 145 | </ul> |
146 | 146 | ||
@@ -225,7 +225,7 @@ authentication. Defaults to "<tt>ftp:anonymous@anonymous.org</tt>"; | |||
225 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> | 225 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> |
226 | pump step function used to pass data from the | 226 | pump step function used to pass data from the |
227 | server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; | 227 | server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; |
228 | <li><tt>accept</tt>: An optional function to be used instead of | 228 | <li><tt>create</tt>: An optional function to be used instead of |
229 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | 229 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. |
230 | </ul> | 230 | </ul> |
231 | 231 | ||
diff --git a/doc/http.html b/doc/http.html index 27942b1..096ab2b 100644 --- a/doc/http.html +++ b/doc/http.html | |||
@@ -180,7 +180,7 @@ Defaults to the LTN12 <tt>pump.step</tt> function. | |||
180 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy; | 180 | <li><tt>proxy</tt>: The URL of a proxy server to use. Defaults to no proxy; |
181 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the | 181 | <li><tt>redirect</tt>: Set to <tt><b>false</b></tt> to prevent the |
182 | function from automatically following 301 or 302 server redirect messages; | 182 | function from automatically following 301 or 302 server redirect messages; |
183 | <li><tt>accept</tt>: An optional function to be used instead of | 183 | <li><tt>create</tt>: An optional function to be used instead of |
184 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | 184 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. |
185 | </ul> | 185 | </ul> |
186 | 186 | ||
diff --git a/doc/installation.html b/doc/installation.html index d30e919..1b82ed3 100644 --- a/doc/installation.html +++ b/doc/installation.html | |||
@@ -76,9 +76,9 @@ distribution directory structure:</p> | |||
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/init.lua | 79 | <SHARE>/mime/init.lua (originally mime.lua) |
80 | <LIB>/mime/core.dll | 80 | <LIB>/mime/core.dll |
81 | <SHARE>/socket/init.lua | 81 | <SHARE>/socket/init.lua (originally socket.lua) |
82 | <LIB>/socket/core.dll | 82 | <LIB>/socket/core.dll |
83 | <SHARE>/socket/http.lua | 83 | <SHARE>/socket/http.lua |
84 | <SHARE>/socket/tp.lua | 84 | <SHARE>/socket/tp.lua |
@@ -88,7 +88,10 @@ distribution directory structure:</p> | |||
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> |
91 | would be replaced by <tt>core.so</tt>. | 91 | would be replaced by <tt>core.so</tt>. Notice that in the instalation, |
92 | <tt>socket.lua</tt> becomes <tt>socket/init.lua</tt>, and the same happens | ||
93 | with <tt>mime.lua</tt>, which becomes <tt>mime/init.lua</tt>. | ||
94 | </p> | ||
92 | 95 | ||
93 | <p> In order for the interpreter to find all LuaSocket components, three | 96 | <p> In order for the interpreter to find all LuaSocket components, three |
94 | environment variables need to be set. The first environment variable tells | 97 | environment variables need to be set. The first environment variable tells |
@@ -110,7 +113,7 @@ LUA_CPATH=<LIB>/?.dll;?.dll | |||
110 | </pre> | 113 | </pre> |
111 | 114 | ||
112 | <p> Again, naturally, on Unix systmems the shared library extension would be | 115 | <p> Again, naturally, on Unix systmems the shared library extension would be |
113 | <tt>.so</tt> instead of <tt>.dll</tt></p> | 116 | <tt>.so</tt> instead of <tt>.dll</tt>.</p> |
114 | 117 | ||
115 | <h3>Using LuaSocket</h3> | 118 | <h3>Using LuaSocket</h3> |
116 | 119 | ||
diff --git a/doc/smtp.html b/doc/smtp.html index 1e1523b..14def8a 100644 --- a/doc/smtp.html +++ b/doc/smtp.html | |||
@@ -161,7 +161,7 @@ local machine host name; | |||
161 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> | 161 | <a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> |
162 | pump step function used to pass data from the | 162 | pump step function used to pass data from the |
163 | source to the server. Defaults to the LTN12 <tt>pump.step</tt> function; | 163 | source to the server. Defaults to the LTN12 <tt>pump.step</tt> function; |
164 | <li><tt>accept</tt>: An optional function to be used instead of | 164 | <li><tt>create</tt>: An optional function to be used instead of |
165 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. | 165 | <a href=tcp.html#socket.tcp><tt>socket.tcp</tt></a> when the communications socket is created. |
166 | </ul> | 166 | </ul> |
167 | 167 | ||