aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2003-09-21 16:44:27 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2003-09-21 16:44:27 +0000
commit2b11e2bde90ef42de22b7e2ae78cd1da134b4565 (patch)
tree594638d461eb78251eede8133e010cd01396a46e /doc
parent982781f1464c9b7a8133130433f83dbf1f59a2c0 (diff)
downloadluasocket-2b11e2bde90ef42de22b7e2ae78cd1da134b4565.tar.gz
luasocket-2b11e2bde90ef42de22b7e2ae78cd1da134b4565.tar.bz2
luasocket-2b11e2bde90ef42de22b7e2ae78cd1da134b4565.zip
Corrected bugs found by Steve Elkins
Diffstat (limited to 'doc')
-rw-r--r--doc/introduction.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/introduction.html b/doc/introduction.html
index 7adf45b..e6f0ea2 100644
--- a/doc/introduction.html
+++ b/doc/introduction.html
@@ -42,7 +42,7 @@ provided for TCP and UDP, but there is work in progress to implement SSL,
42Local Domain, Pipes, File Descriptors etc. I/O objects provide a standard 42Local Domain, Pipes, File Descriptors etc. I/O objects provide a standard
43interface to I/O across different domains and operating systems. 43interface to I/O across different domains and operating systems.
44LuaSocket&nbsp;2.0 has been rewritten from scratch to simplify the future 44LuaSocket&nbsp;2.0 has been rewritten from scratch to simplify the future
45addition new domains. 45addition of new domains.
46</p> 46</p>
47 47
48<p> 48<p>
@@ -112,7 +112,7 @@ host OS requires for network access (Windows requires ws2_32.lib, for
112instance). LuaSocket is initialized in the 112instance). LuaSocket is initialized in the
113Lua state given as the argument to the function 113Lua state given as the argument to the function
114<tt>luaopen_socket</tt>, the only C function exported by the library. 114<tt>luaopen_socket</tt>, the only C function exported by the library.
115After initialization, the scripts are free to use all LuaSocket API. 115After initialization, scripts are free to use all of the LuaSocket API.
116</p> 116</p>
117 117
118<!-- tcp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 118<!-- tcp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
@@ -289,7 +289,7 @@ error message.
289host = "localhost" -- change here to the host you want to contact 289host = "localhost" -- change here to the host you want to contact
290port = port or 13 290port = port or 13
291-- convert host name to ip address 291-- convert host name to ip address
292ip, err = socket.toip(host) 292ip, err = socket.dns.toip(host)
293assert(ip, err) 293assert(ip, err)
294-- create a new UDP object 294-- create a new UDP object
295udp = socket.udp() 295udp = socket.udp()