aboutsummaryrefslogtreecommitdiff
path: root/doc/introduction.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/introduction.html')
-rw-r--r--doc/introduction.html16
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>
61The LuaSocket API was designed with two goals in mind. First, users 61The API design had two goals in mind. First, users
62experienced with the C API to sockets should feel comfortable using LuaSocket. 62experienced with the C API to sockets should feel comfortable using LuaSocket.
63Second, the simplicity and the feel of the Lua language should be 63Second, the simplicity and the feel of the Lua language should be
64preserved. 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. 64preserved. 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
94Finally, the host name resolution is transparent, meaning that most 94Finally, the host name resolution is transparent, meaning that most
95functions and methods accept both IP addresses and host names. In case a 95functions and methods accept both IP addresses and host names. In case a
96host name is given, the library queries the system's resolver and 96host name is given, the library queries the system's resolver and
97tries the main returned IP address. Note that direct use of IP addresses 97tries the main IP address returned. Note that direct use of IP addresses
98is more efficient, of course. The 98is 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>
100and <a href=dns.html#tohostname><tt>tohostname</tt></a> 100and <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
305much more than TCP and UDP functionality. As the library
305evolved, support for <a href=http.html>HTTP</a>, <a href=ftp.html>FTP</a>, 306evolved, 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 307and <a href=smtp.html>SMTP</a> were built on top of these. These modules
307href=url.html>URLs</a> and much more was made available.</a> These are 308and many others are covered by the <a href=reference.html>reference manual</a>.
308mostly implemented in Lua itself, with critical parts implemented in C for 309</p>
309efficiency</p>
310 310
311<!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 311<!-- footer +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
312 312