aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/cddb.lua4
-rw-r--r--samples/daytimeclnt.lua2
-rw-r--r--samples/echosrvr.lua2
-rw-r--r--samples/talker.lua2
-rw-r--r--samples/tinyirc.lua2
5 files changed, 6 insertions, 6 deletions
diff --git a/samples/cddb.lua b/samples/cddb.lua
index aefa04e..daa5df1 100644
--- a/samples/cddb.lua
+++ b/samples/cddb.lua
@@ -1,5 +1,5 @@
1socket = require("socket") 1local socket = require("socket")
2http = require("http") 2local http = require("http")
3 3
4if not arg or not arg[1] or not arg[2] then 4if not arg or not arg[1] or not arg[2] then
5 print("luasocket cddb.lua <category> <disc-id> [<server>]") 5 print("luasocket cddb.lua <category> <disc-id> [<server>]")
diff --git a/samples/daytimeclnt.lua b/samples/daytimeclnt.lua
index b4075e9..6a26ffc 100644
--- a/samples/daytimeclnt.lua
+++ b/samples/daytimeclnt.lua
@@ -4,7 +4,7 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7require"socket" 7local socket = require"socket"
8host = host or "127.0.0.1" 8host = host or "127.0.0.1"
9port = port or 13 9port = port or 13
10if arg then 10if arg then
diff --git a/samples/echosrvr.lua b/samples/echosrvr.lua
index 73bf374..3ebbe85 100644
--- a/samples/echosrvr.lua
+++ b/samples/echosrvr.lua
@@ -4,7 +4,7 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7socket = require("socket") 7local socket = require("socket")
8host = host or "127.0.0.1" 8host = host or "127.0.0.1"
9port = port or 7 9port = port or 7
10if arg then 10if arg then
diff --git a/samples/talker.lua b/samples/talker.lua
index bafd021..3f6e69c 100644
--- a/samples/talker.lua
+++ b/samples/talker.lua
@@ -4,7 +4,7 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7socket = require("socket") 7local socket = require("socket")
8host = host or "localhost" 8host = host or "localhost"
9port = port or 8080 9port = port or 8080
10if arg then 10if arg then
diff --git a/samples/tinyirc.lua b/samples/tinyirc.lua
index 85ebe29..13f42ec 100644
--- a/samples/tinyirc.lua
+++ b/samples/tinyirc.lua
@@ -4,7 +4,7 @@
4-- Author: Diego Nehab 4-- Author: Diego Nehab
5-- RCS ID: $Id$ 5-- RCS ID: $Id$
6----------------------------------------------------------------------------- 6-----------------------------------------------------------------------------
7socket = require("socket") 7local socket = require("socket")
8host = host or "*" 8host = host or "*"
9port1 = port1 or 8080 9port1 = port1 or 8080
10port2 = port2 or 8181 10port2 = port2 or 8181