aboutsummaryrefslogtreecommitdiff
path: root/doc/introduction.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/introduction.html')
-rw-r--r--doc/introduction.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/introduction.html b/doc/introduction.html
index 2c738d6..6468148 100644
--- a/doc/introduction.html
+++ b/doc/introduction.html
@@ -3,7 +3,9 @@
3<html> 3<html>
4 4
5<head> 5<head>
6<title>LuaSocket: Network support for the Lua language</title> 6<meta name="description" content="LuaSocket: Introduction to the core">
7<meta name="keywords" content="Lua, Library, TCP, UDP, Network, Support">
8<title>LuaSocket: Introduction to the core</title>
7<link rel="stylesheet" href="reference.css" type="text/css"> 9<link rel="stylesheet" href="reference.css" type="text/css">
8</head> 10</head>
9 11
@@ -16,7 +18,7 @@
16<center> 18<center>
17<table summary="LuaSocket logo"> 19<table summary="LuaSocket logo">
18<tr><td align=center><a href="http://www.lua.org"> 20<tr><td align=center><a href="http://www.lua.org">
19<img width=128 border=0 alt="LuaSocket" src="luasocket.png"> 21<img width=128 height=128 border=0 alt="LuaSocket" src="luasocket.png">
20</a></td></tr> 22</a></td></tr>
21<tr><td align=center valign=top>Network support for the Lua language 23<tr><td align=center valign=top>Network support for the Lua language
22</td></tr> 24</td></tr>
@@ -209,7 +211,7 @@ print("Please telnet to localhost on port " .. port)
209print("After connecting, you have 10s to enter a line to be echoed") 211print("After connecting, you have 10s to enter a line to be echoed")
210-- loop forever waiting for clients 212-- loop forever waiting for clients
211while 1 do 213while 1 do
212 -- wait for a conection from any client 214 -- wait for a connection from any client
213 local client = server:accept() 215 local client = server:accept()
214 -- make sure we don't block waiting for this client's line 216 -- make sure we don't block waiting for this client's line
215 client:settimeout(10) 217 client:settimeout(10)