aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2001-06-06 21:00:11 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2001-06-06 21:00:11 +0000
commit2b7ea458d64d88b1393f75e9b669d8510914e654 (patch)
tree48c2e61e10bb113ac44debe9e597c2d263b29f2f
parent8f1349ddd4b0af71bec244a1be09b09c22709ae1 (diff)
downloadluasocket-2b7ea458d64d88b1393f75e9b669d8510914e654.tar.gz
luasocket-2b7ea458d64d88b1393f75e9b669d8510914e654.tar.bz2
luasocket-2b7ea458d64d88b1393f75e9b669d8510914e654.zip
Updated for 1.3b
-rw-r--r--samples/README24
1 files changed, 16 insertions, 8 deletions
diff --git a/samples/README b/samples/README
index e295035..07bc7dc 100644
--- a/samples/README
+++ b/samples/README
@@ -33,14 +33,22 @@ servers as well.
33This module implements file retrieval by the TFTP protocol. Its main use 33This module implements file retrieval by the TFTP protocol. Its main use
34is to test the UDP code, but someone might find it usefull. 34is to test the UDP code, but someone might find it usefull.
35 35
36 broadcast.lua -- Broadcast telnet server 36 tinyirc.lua -- irc like broadcast server
37 37
38This is a simple server that waits simultaneously on two server sockets for 38This is a simple server that waits simultaneously on two server sockets
39telnet connections. Everything it receives from the telnet clients is 39for telnet connections. Everything it receives from the telnet clients
40broadcast to every other connected client. It tests the select function and 40is broadcasted to every other connected client. It tests the select
41shows how to create a simple server whith LuaSocket. Just run broadcast.lua 41function and shows how to create a simple server whith LuaSocket. Just
42and then open as many telnet connections as you want to ports 8080 and 42run broadcast.lua and then open as many telnet connections as you want
438081. 43to ports 8080 and 8081.
44
45 get.lua -- file retriever
46
47This module is a client that uses the FTP and HTTP code to implement a
48command line file graber. Just run 'luasocket -f get.lua <remote-file>
49<local-file>' to download a remote file (either ftp:// or http://) to
50the specified local file. The program also prints the download
51throughput during download.
44 52
45Good luck, 53Good luck,
46Diego. 54Diego.