From 597a062b1bc38488df1363995eece8a9f19c7111 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Thu, 17 Jun 2004 21:46:22 +0000 Subject: Almost ready for distribution... --- samples/README | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'samples') diff --git a/samples/README b/samples/README index 9369277..b5802e5 100644 --- a/samples/README +++ b/samples/README @@ -1,4 +1,4 @@ -This directory contains some sample programs using LuaSocket. This code +This directory contains some sample programs using LuaSocket. This code is not supported. listener.lua -- socket to stdout @@ -7,21 +7,26 @@ is not supported. listener.lua and talker.lua are about the simplest applications you can write using LuaSocket. Run - 'lua -l luasocket listen.lua' and 'lua -l luasocket talk.lua' + 'lua listen.lua' and 'lua talk.lua' -on different terminals. Whatever you type on talk.lua will be +on different terminals. Whatever you type on talk.lua will be printed by listen.lua. - dict.lua -- dict client + b64.lua + qp.lua + eol.lua -The dict.lua module was a cool simple client for the DICT protocol, -written by Luiz Henrique Figueiredo. This new version has been converted -into a library, similar to the HTTP and FTP libraries, that can be used -from within any luasocket application. Take a look on the source code -and you will be able to figure out how to use it. +These are tiny programs that perform Base64, Quoted-Printable and +end-of-line marker conversions. + + cddb.lua -- CDDB client + +This is the first try on a simple CDDB client. Not really useful, but one +day it might become a module. daytimeclnt.lua -- day time client + Just run the program to retrieve the hour and date in readable form from any server running an UDP daytime daemon. @@ -40,5 +45,9 @@ function and shows how to create a simple server whith LuaSocket. Just run tinyirc.lua and then open as many telnet connections as you want to ports 8080 and 8081. + check-memory.lua -- checks memory consumption + +This is just to see how much memory each module uses. + Good luck, Diego. -- cgit v1.2.3-55-g6feb