diff options
Diffstat (limited to 'samples/talker.lua')
| -rw-r--r-- | samples/talker.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/talker.lua b/samples/talker.lua index 688824f..c7a239a 100644 --- a/samples/talker.lua +++ b/samples/talker.lua | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | ----------------------------------------------------------------------------- | ||
| 2 | -- TCP sample: Little program to send text lines to a given host/port | ||
| 3 | -- LuaSocket 1.5 sample files | ||
| 4 | -- Author: Diego Nehab | ||
| 5 | -- RCS ID: $Id$ | ||
| 6 | ----------------------------------------------------------------------------- | ||
| 1 | host = host or "localhost" | 7 | host = host or "localhost" |
| 2 | port = port or 8080 | 8 | port = port or 8080 |
| 3 | if arg then | 9 | if arg then |
