diff options
Diffstat (limited to 'samples/echosrvr.lua')
| -rw-r--r-- | samples/echosrvr.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/echosrvr.lua b/samples/echosrvr.lua index 6117557..18bd84e 100644 --- a/samples/echosrvr.lua +++ b/samples/echosrvr.lua | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | ----------------------------------------------------------------------------- | ||
| 2 | -- UDP sample: echo protocol server | ||
| 3 | -- LuaSocket 1.5 sample files | ||
| 4 | -- Author: Diego Nehab | ||
| 5 | -- RCS ID: $Id$ | ||
| 6 | ----------------------------------------------------------------------------- | ||
| 1 | host = host or "127.0.0.1" | 7 | host = host or "127.0.0.1" |
| 2 | port = port or 7 | 8 | port = port or 7 |
| 3 | if arg then | 9 | if arg then |
