aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-10-05 03:16:17 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-10-05 03:16:17 +0000
commit72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4 (patch)
tree8ad4d77c2a5889748afa164188d566570028a513 /doc
parenta65c599fc5014de278d10c64fa0e425149517fe8 (diff)
downloadluasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.gz
luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.tar.bz2
luasocket-72eceedc62d2cb65421fe9e0062a5d8f8c2bd3c4.zip
Bugs sent by David.
Diffstat (limited to 'doc')
-rw-r--r--doc/ftp.html4
-rw-r--r--doc/http.html2
-rw-r--r--doc/installation.html11
-rw-r--r--doc/smtp.html2
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>
141pump step function used to pass data from the 141pump step function used to pass data from the
142server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; 142server 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>
226pump step function used to pass data from the 226pump step function used to pass data from the
227server to the sink. Defaults to the LTN12 <tt>pump.step</tt> function; 227server 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
182function from automatically following 301 or 302 server redirect messages; 182function 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&lt;SHARE&gt;/compat-5.1.lua 77&lt;SHARE&gt;/compat-5.1.lua
78&lt;SHARE&gt;/ltn12.lua 78&lt;SHARE&gt;/ltn12.lua
79&lt;SHARE&gt;/mime/init.lua 79&lt;SHARE&gt;/mime/init.lua (originally mime.lua)
80&lt;LIB&gt;/mime/core.dll 80&lt;LIB&gt;/mime/core.dll
81&lt;SHARE&gt;/socket/init.lua 81&lt;SHARE&gt;/socket/init.lua (originally socket.lua)
82&lt;LIB&gt;/socket/core.dll 82&lt;LIB&gt;/socket/core.dll
83&lt;SHARE&gt;/socket/http.lua 83&lt;SHARE&gt;/socket/http.lua
84&lt;SHARE&gt;/socket/tp.lua 84&lt;SHARE&gt;/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>
91would be replaced by <tt>core.so</tt>. 91would 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
93with <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
94environment variables need to be set. The first environment variable tells 97environment variables need to be set. The first environment variable tells
@@ -110,7 +113,7 @@ LUA_CPATH=&lt;LIB&gt;/?.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>
162pump step function used to pass data from the 162pump step function used to pass data from the
163source to the server. Defaults to the LTN12 <tt>pump.step</tt> function; 163source 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