aboutsummaryrefslogtreecommitdiff
path: root/doc/installation.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/installation.html')
-rw-r--r--doc/installation.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/installation.html b/doc/installation.html
index 4086f41..c8eb5d9 100644
--- a/doc/installation.html
+++ b/doc/installation.html
@@ -37,7 +37,7 @@ Installation">
37 37
38<!-- installation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 38<!-- installation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
39 39
40<h2>Instalation</h2> 40<h2>Installation</h2>
41 41
42<p> LuaSocket 2.0 uses the new package proposal for Lua 5.1. 42<p> LuaSocket 2.0 uses the new package proposal for Lua 5.1.
43All Lua library developers are encouraged to update their libraries so that 43All Lua library developers are encouraged to update their libraries so that
@@ -48,7 +48,7 @@ standardization and flexibility of the standard.
48<p> 48<p>
49The proposal was considered important enough by some of us to justify 49The proposal was considered important enough by some of us to justify
50early adoption, even before release of Lua 5.1. 50early adoption, even before release of Lua 5.1.
51Thus, a compability module 51Thus, a compatibility module
52<a href=http://www.keplerproject.org/compat/>compat-5.1</a> 52<a href=http://www.keplerproject.org/compat/>compat-5.1</a>
53has been released in conjunction with Roberto Ierusalimschy and <a 53has been released in conjunction with Roberto Ierusalimschy and <a
54href=http://www.keplerproject.org/>The Kepler Project</a> team. 54href=http://www.keplerproject.org/>The Kepler Project</a> team.
@@ -110,7 +110,7 @@ LUA_PATH=&lt;SHARE&gt;/?.lua;?.lua
110LUA_CPATH=&lt;LIB&gt;/?.dll;?.dll 110LUA_CPATH=&lt;LIB&gt;/?.dll;?.dll
111</pre> 111</pre>
112 112
113<p> Again, naturally, on Unix systmems the shared library extension would be 113<p> Again, naturally, on Unix systems the shared library extension would be
114<tt>.so</tt> instead of <tt>.dll</tt>.</p> 114<tt>.so</tt> instead of <tt>.dll</tt>.</p>
115 115
116<h3>Using LuaSocket</h3> 116<h3>Using LuaSocket</h3>
@@ -127,13 +127,12 @@ Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
127</pre> 127</pre>
128 128
129<p> Each module loads their dependencies automatically, so you only need to 129<p> Each module loads their dependencies automatically, so you only need to
130load the modues you directly depend upon: <p> 130load the modules you directly depend upon: </p>
131 131
132<pre class=example> 132<pre class=example>
133Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio 133Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
134&gt; http = require("socket.http") 134&gt; http = require("socket.http")
135&gt; 135&gt; print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
136print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
137--&gt; homepage gets dumped to terminal 136--&gt; homepage gets dumped to terminal
138</pre> 137</pre>
139 138
@@ -152,7 +151,7 @@ print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
152<p> 151<p>
153<small> 152<small>
154Last modified by Diego Nehab on <br> 153Last modified by Diego Nehab on <br>
155Sun Nov 28 03:19:00 EST 2004 154Mon Nov 21 01:57:22 EST 2005
156</small> 155</small>
157</p> 156</p>
158</center> 157</center>