aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/README40
1 files changed, 20 insertions, 20 deletions
diff --git a/samples/README b/samples/README
index ef5017b..b891547 100644
--- a/samples/README
+++ b/samples/README
@@ -1,32 +1,32 @@
1This directory contains some sample programs using LuaSocket as well as 1This directory contains some sample programs using LuaSocket as
2the automatic tests used to make sure the library is working properly. 2well as the automatic tests used to make sure the library is
3working properly.
3 4
4The files provided are: 5The files provided are:
5 6
6 server.lua -- test server 7 testsrvr.lua -- test server
7 client.lua -- test client 8 testclnt.lua -- test client
8 command.lua -- test command definitions 9 testcmd.lua -- test command definitions
9 10
10The automatic tests are composed by three files: client.lua, command.lua 11To run the automatic tests on your system, make sure to compile
11and server.lua. To run the automatic tests on your system, make sure to 12the library with _DEBUG defined (check makefile) and then open two
12compile the library with _DEBUG defined (check makefile) and then open 13terminals. Run 'luasocket testsrvr.lua' on one of them and
13two terminals. Run 'luasocket server.lua' on one of them and 'luasocket 14'luasocket testclnt.lua' on the other. The programs should start
14client.lua' on the other. The programs should start talking to each 15talking to each other.
15other.
16 16
17 listen.lua -- echo server 17 listener.lua -- echo server
18 talk.lua -- echo tester 18 talker.lua -- echo tester
19 19
20listen.lua and talk.lua are about the simplest applications you can 20listener.lua and talker.lua are about the simplest applications
21write using LuaSocket. Run 'luasocket listen.lua' and 'luasocket 21you can write using LuaSocket. Run 'luasocket listen.lua' and
22talk.lua' on different terminals. Whatever you type on talk.lua will be 22'luasocket talk.lua' on different terminals. Whatever you type on
23printed by listen.lua. 23talk.lua will be printed by listen.lua.
24 24
25 dict.lua -- dict client 25 dict.lua -- dict client
26 26
27The dict.lua module is a cool simple client for the DICT protocol, 27The dict.lua module is a cool simple client for the DICT protocol,
28written by Luiz Henrique Figueiredo. Just run it and enter a few words 28written by Luiz Henrique Figueiredo. Just run it and enter a few
29to see it working. 29words to see it working.
30 30
31Good luck, 31Good luck,
32Diego. 32Diego.