diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 04:28:21 +0000 |
commit | 0a4c1534f39511894728da193ab8225ad6022de9 (patch) | |
tree | 683b711accf64eca486b138cbc034c609f93a53a /etc | |
parent | 8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (diff) | |
download | luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.gz luasocket-0a4c1534f39511894728da193ab8225ad6022de9.tar.bz2 luasocket-0a4c1534f39511894728da193ab8225ad6022de9.zip |
Still work to do in the manual...
Diffstat (limited to 'etc')
-rw-r--r-- | etc/b64.lua | 6 | ||||
-rw-r--r-- | etc/tftp.lua | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/etc/b64.lua b/etc/b64.lua index 4d5f83e..d74c949 100644 --- a/etc/b64.lua +++ b/etc/b64.lua | |||
@@ -1,3 +1,9 @@ | |||
1 | ----------------------------------------------------------------------------- | ||
2 | -- Little program to convert to and from Base64 | ||
3 | -- LuaSocket sample files | ||
4 | -- Author: Diego Nehab | ||
5 | -- RCS ID: $Id$ | ||
6 | ----------------------------------------------------------------------------- | ||
1 | local ltn12 = require("ltn12") | 7 | local ltn12 = require("ltn12") |
2 | local mime = require("mime") | 8 | local mime = require("mime") |
3 | local source = ltn12.source.file(io.stdin) | 9 | local source = ltn12.source.file(io.stdin) |
diff --git a/etc/tftp.lua b/etc/tftp.lua index 5238de0..6a1a093 100644 --- a/etc/tftp.lua +++ b/etc/tftp.lua | |||
@@ -71,7 +71,7 @@ local function get_ERROR(dgram) | |||
71 | end | 71 | end |
72 | 72 | ||
73 | ----------------------------------------------------------------------------- | 73 | ----------------------------------------------------------------------------- |
74 | -- High level TFTP API | 74 | -- The real work |
75 | ----------------------------------------------------------------------------- | 75 | ----------------------------------------------------------------------------- |
76 | local function tget(gett) | 76 | local function tget(gett) |
77 | local retries, dgram, sent, datahost, dataport, code | 77 | local retries, dgram, sent, datahost, dataport, code |