diff options
Diffstat (limited to 'doc/introduction.html')
-rw-r--r-- | doc/introduction.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/introduction.html b/doc/introduction.html index 69a5eac..150a990 100644 --- a/doc/introduction.html +++ b/doc/introduction.html | |||
@@ -58,7 +58,7 @@ interface to I/O across different domains and operating systems. | |||
58 | </p> | 58 | </p> |
59 | 59 | ||
60 | <p> | 60 | <p> |
61 | The LuaSocket API was designed with two goals in mind. First, users | 61 | The API design had two goals in mind. First, users |
62 | experienced with the C API to sockets should feel comfortable using LuaSocket. | 62 | experienced with the C API to sockets should feel comfortable using LuaSocket. |
63 | Second, the simplicity and the feel of the Lua language should be | 63 | Second, the simplicity and the feel of the Lua language should be |
64 | preserved. To achieve these goals, the LuaSocket API keeps the function names and semantics the C API whenever possible, but their usage in Lua has been greatly simplified. | 64 | preserved. To achieve these goals, the LuaSocket API keeps the function names and semantics the C API whenever possible, but their usage in Lua has been greatly simplified. |
@@ -94,7 +94,7 @@ call might perform several OS calls, so that the two timeout values are | |||
94 | Finally, the host name resolution is transparent, meaning that most | 94 | Finally, the host name resolution is transparent, meaning that most |
95 | functions and methods accept both IP addresses and host names. In case a | 95 | functions and methods accept both IP addresses and host names. In case a |
96 | host name is given, the library queries the system's resolver and | 96 | host name is given, the library queries the system's resolver and |
97 | tries the main returned IP address. Note that direct use of IP addresses | 97 | tries the main IP address returned. Note that direct use of IP addresses |
98 | is more efficient, of course. The | 98 | is more efficient, of course. The |
99 | <a href=dns.html#toip><tt>toip</tt></a> | 99 | <a href=dns.html#toip><tt>toip</tt></a> |
100 | and <a href=dns.html#tohostname><tt>tohostname</tt></a> | 100 | and <a href=dns.html#tohostname><tt>tohostname</tt></a> |
@@ -299,14 +299,14 @@ io.write(socket.try((udp:receive()))) | |||
299 | 299 | ||
300 | <!-- More +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 300 | <!-- More +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
301 | 301 | ||
302 | <h3 id=more>Much more</h3> | 302 | <h3 id=more>Support modules</h3> |
303 | 303 | ||
304 | <p> LuaSocket offers much more than TCP and UDP support. As the library | 304 | <p> Although not covered in the introduction, LuaSocket offers |
305 | much more than TCP and UDP functionality. As the library | ||
305 | evolved, support for <a href=http.html>HTTP</a>, <a href=ftp.html>FTP</a>, | 306 | evolved, support for <a href=http.html>HTTP</a>, <a href=ftp.html>FTP</a>, |
306 | <a href=smtp.html>SMTP</a>, <a href=mime.html>MIME</a>, <a | 307 | and <a href=smtp.html>SMTP</a> were built on top of these. These modules |
307 | href=url.html>URLs</a> and much more was made available.</a> These are | 308 | and many others are covered by the <a href=reference.html>reference manual</a>. |
308 | mostly implemented in Lua itself, with critical parts implemented in C for | 309 | </p> |
309 | efficiency</p> | ||
310 | 310 | ||
311 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 311 | <!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
312 | 312 | ||