diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2012-04-17 01:15:26 +0800 |
---|---|---|
committer | Diego Nehab <diego.nehab@gmail.com> | 2012-04-17 01:15:26 +0800 |
commit | f37e0260261f7691246429d227cf7124c291e8b1 (patch) | |
tree | 7e84322c8852d4227e36958af1132a4588f64795 /doc/index.html | |
parent | b3c4f46179ed5b27ca76a824f8730fa50dbaae0b (diff) | |
download | luasocket-f37e0260261f7691246429d227cf7124c291e8b1.tar.gz luasocket-f37e0260261f7691246429d227cf7124c291e8b1.tar.bz2 luasocket-f37e0260261f7691246429d227cf7124c291e8b1.zip |
First stab at documenation
Update Lua and Luasocket version in samples and in documentation
Documented ipv5_v6only default option being set
Documented tcp6 and udp6
Documented dns.getaddrinfo
Documented zero-sized datagram change?
Documented getoption
Diffstat (limited to 'doc/index.html')
-rw-r--r-- | doc/index.html | 80 |
1 files changed, 33 insertions, 47 deletions
diff --git a/doc/index.html b/doc/index.html index 665b97b..9da0f3c 100644 --- a/doc/index.html +++ b/doc/index.html | |||
@@ -78,8 +78,8 @@ LuaSocket. | |||
78 | </p> | 78 | </p> |
79 | 79 | ||
80 | <p> | 80 | <p> |
81 | Copyright © 2004-2007 Diego Nehab. All rights reserved. <br> | 81 | Copyright © 1999-2012 Diego Nehab. All rights reserved. <br> |
82 | Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a> | 82 | Author: <A href="http://www.impa.br/~diego">Diego Nehab</a> |
83 | </p> | 83 | </p> |
84 | 84 | ||
85 | <!-- download +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 85 | <!-- download +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
@@ -87,25 +87,18 @@ Author: <A href="http://www.cs.princeton.edu/~diego">Diego Nehab</a> | |||
87 | <h2 id=download>Download</h2> | 87 | <h2 id=download>Download</h2> |
88 | 88 | ||
89 | <p> | 89 | <p> |
90 | LuaSocket version 2.0.3 is now available for download! It is | 90 | LuaSocket version 2.1.1-rc1 is now available for download! |
91 | compatible with Lua 5.1, and has | 91 | It is compatible with Lua 5.1 and 5.2, and has |
92 | been tested on Windows XP, Linux, and Mac OS X. Chances | 92 | been tested on Windows XP, Linux, and Mac OS X. Chances |
93 | are it works well on most UNIX distributions and Windows flavors. | 93 | are it works well on most UNIX distributions and Windows flavors. |
94 | </p> | 94 | </p> |
95 | 95 | ||
96 | <p> | 96 | <p> |
97 | The library can be downloaded in source code from the | 97 | The library can be downloaded in source code from the |
98 | <a href=http://luaforge.net/projects/luasocket/>LuaSocket | 98 | <a href="https://github.com/diegonehab/luasocket/downloads">LuaSocket |
99 | project page</a> at LuaForge. | 99 | project page</a> at GitHub. Besides the full C and Lua source code |
100 | Besides the full C and Lua source code for the library, the distribution | 100 | for the library, the distribution contains several examples, |
101 | contains several examples, this user's manual and basic test procedures. | 101 | this user's manual and basic test procedures. |
102 | </p> | ||
103 | |||
104 | <p> | ||
105 | Danilo Tuler is maintaining Win32 binaries for LuaSocket, which are also | ||
106 | available from LuaForge. These are compatible with the | ||
107 | <a href=http://luaforge.net/projects/luabinaries>LuaBinaries</a>, | ||
108 | also available from LuaForge. | ||
109 | </p> | 102 | </p> |
110 | 103 | ||
111 | <p> Take a look at the <a | 104 | <p> Take a look at the <a |
@@ -118,15 +111,13 @@ manual to find out how to properly install the library. | |||
118 | <h2 id=thanks>Special thanks</h2> | 111 | <h2 id=thanks>Special thanks</h2> |
119 | 112 | ||
120 | <p> | 113 | <p> |
121 | Throughout LuaSocket's history, many people gave suggestions | 114 | This marks the first release of LuaSocket that |
122 | that helped improve it. For that, I thank the Lua community. | 115 | wholeheartedly embraces the open-source development |
123 | Special thanks go to David Burgess, who has helped push the | 116 | philosophy. After a long hiatus, Matthew Wild finally |
124 | library to a new level of quality and from whom I have | 117 | convinced me it was time for a release including IPv6 |
125 | learned a lot of stuff that doesn't show up in RFCs. | 118 | and Lua 5.2 support. Special thanks to Sam Roberts, Florian |
126 | Special thanks also to Carlos Cassino, who played a big part | 119 | Zeitz, and Paul Aurich, Liam Devine, and everybody else that |
127 | in the extensible design seen in the C core of LuaSocket | 120 | has helped bring this library back to life. |
128 | 2.0. Mike Pall has been helping a lot too! Thanks to you | ||
129 | all! | ||
130 | </p> | 121 | </p> |
131 | 122 | ||
132 | <!-- whatsnew +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 123 | <!-- whatsnew +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
@@ -134,30 +125,25 @@ all! | |||
134 | <h2 id=new>What's New</h2> | 125 | <h2 id=new>What's New</h2> |
135 | 126 | ||
136 | <p> | 127 | <p> |
137 | 2.0.3 is just a bug-fix/update release. | 128 | Main changes for LuaSocket 2.1.1-rc1 are IPv6 support |
129 | and Lua 5.2 compatibility. | ||
138 | </p> | 130 | </p> |
139 | 131 | ||
140 | <ul> | 132 | <ul> |
141 | <li> Fixed: manual sample of HTTP authentication now uses correct | 133 | <li> Added: Compatible with Lua 5.2 (using <tt>LUA_COMPAT_MODULE</tt>); |
142 | "authorization" header (Alexandre Ittner); | 134 | <li> Added: IPv6 support; |
143 | <li> Fixed: receive() returns immediatelly if prefix can satisfy | 135 | <ul> |
144 | bytes requested (M Joonas Pihlaja); | 136 | <li> <tt>Socket.connect</tt> and <tt>socket.bind</tt> support IPv6 addresses; |
145 | <li> Fixed: multicast didn't work on Windows, or anywhere | 137 | <li> <tt>Getpeername</tt> and <tt>getsockname</tt> support IPv6 addresses; |
146 | else for that matter (Herbert Leuwer, Adrian Sietsma); | 138 | <li> New <tt>socket.tcp6</tt> and <tt>socket.udp6</tt> functions; |
147 | <li> Fixed: select() now reports an error when called with more | 139 | <li> New <tt>socket.dns.getaddrinfo</tt> function; |
148 | sockets than FD_SETSIZE (Lorenzo Leonini); | 140 | </ul> |
149 | <li> Fixed: manual links to home.html changed to index.html (Robert Hahn); | 141 | <li> Added: <tt>getoption</tt> method; |
150 | <li> Fixed: mime.unb64() would return an empty string on results that started | 142 | <li> Fixed: <tt>url.unescape</tt> was returning additional values; |
151 | with a null character (Robert Raschke); | 143 | <li> Fixed: Receiving zero-length datagram is now possible; |
152 | <li> Fixed: HTTP now automatically redirects on 303 and 307 (Jonathan Gray); | 144 | <li> Improved: Hidden all internal library symbols; |
153 | <li> Fixed: calling sleep() with negative numbers could | 145 | <li> Improved: Better error messages; |
154 | block forever, wasting CPU. Now it returns immediately (MPB); | 146 | <li> Improved: Better documentation of socket options. |
155 | <li> Improved: FTP commands are now sent in upper case to | ||
156 | help buggy servers (Anders Eurenius); | ||
157 | <li> Improved: known headers now sent in canonic | ||
158 | capitalization to help buggy servers (Joseph Stewart); | ||
159 | <li> Improved: Clarified tcp:receive() in the manual (MPB); | ||
160 | <li> Improved: Decent makefiles (LHF). | ||
161 | </ul> | 147 | </ul> |
162 | 148 | ||
163 | <!-- old ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 149 | <!-- old ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
@@ -166,7 +152,7 @@ all! | |||
166 | 152 | ||
167 | <p> | 153 | <p> |
168 | All previous versions of the LuaSocket library can be downloaded <a | 154 | All previous versions of the LuaSocket library can be downloaded <a |
169 | href="http://www.cs.princeton.edu/~diego/professional/luasocket/old"> | 155 | href="http://www.impa.br/~diego/software/luasocket/old"> |
170 | here</a>. Although these versions are no longer supported, they are | 156 | here</a>. Although these versions are no longer supported, they are |
171 | still available for those that have compatibility issues. | 157 | still available for those that have compatibility issues. |
172 | </p> | 158 | </p> |
@@ -185,7 +171,7 @@ still available for those that have compatibility issues. | |||
185 | <p> | 171 | <p> |
186 | <small> | 172 | <small> |
187 | Last modified by Diego Nehab on <br> | 173 | Last modified by Diego Nehab on <br> |
188 | Wed Oct 3 02:07:59 BRT 2007 | 174 | Mon Apr 16 21:58:56 HKT 2012 |
189 | </small> | 175 | </small> |
190 | </p> | 176 | </p> |
191 | </center> | 177 | </center> |