aboutsummaryrefslogtreecommitdiff
path: root/doc/installation.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-15 06:28:56 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2007-06-15 06:28:56 +0000
commit1c487e4be8de182e2323d7a1d6126859e3172fe9 (patch)
tree093d7ee013c6095fc3fe913281431be5e62550f6 /doc/installation.html
parente381bde1ea74552c227e33dbb0c73a2fade897f6 (diff)
downloadluasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.gz
luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.tar.bz2
luasocket-1c487e4be8de182e2323d7a1d6126859e3172fe9.zip
Almost ready to release.
Diffstat (limited to 'doc/installation.html')
-rw-r--r--doc/installation.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/installation.html b/doc/installation.html
index 8c64557..0288f4a 100644
--- a/doc/installation.html
+++ b/doc/installation.html
@@ -39,7 +39,7 @@ Installation">
39 39
40<h2>Installation</h2> 40<h2>Installation</h2>
41 41
42<p> LuaSocket 2.0.1 uses the new package system for Lua 5.1. 42<p> LuaSocket 2.0.2 uses the new package system 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
44all libraries can coexist peacefully and users can benefit from the 44all libraries can coexist peacefully and users can benefit from the
45standardization and flexibility of the standard. 45standardization and flexibility of the standard.
@@ -122,17 +122,17 @@ it should be easy to use LuaSocket. Just fire the interpreter and use the
122<tt>require</tt> function to gain access to whatever module you need:</p> 122<tt>require</tt> function to gain access to whatever module you need:</p>
123 123
124<pre class=example> 124<pre class=example>
125Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio 125Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
126&gt; socket = require("socket") 126&gt; socket = require("socket")
127&gt; print(socket._VERSION) 127&gt; print(socket._VERSION)
128--&gt; LuaSocket 2.0.1 128--&gt; LuaSocket 2.0.2
129</pre> 129</pre>
130 130
131<p> Each module loads their dependencies automatically, so you only need to 131<p> Each module loads their dependencies automatically, so you only need to
132load the modules you directly depend upon: </p> 132load the modules you directly depend upon: </p>
133 133
134<pre class=example> 134<pre class=example>
135Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio 135Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
136&gt; http = require("socket.http") 136&gt; http = require("socket.http")
137&gt; print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket")) 137&gt; print(http.request("http://www.cs.princeton.edu/~diego/professional/luasocket"))
138--&gt; homepage gets dumped to terminal 138--&gt; homepage gets dumped to terminal