aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2001-03-12 20:02:21 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2001-03-12 20:02:21 +0000
commit794418cd7b18a812c5b0b9b91eea2fecc2c6387d (patch)
tree968e174eede198e757fd0b7897337b7cc3d4107a
parent98a7e91de5ec69dc451e3a1f19ec47d29028af5a (diff)
downloadluasocket-794418cd7b18a812c5b0b9b91eea2fecc2c6387d.tar.gz
luasocket-794418cd7b18a812c5b0b9b91eea2fecc2c6387d.tar.bz2
luasocket-794418cd7b18a812c5b0b9b91eea2fecc2c6387d.zip
Added broadcast.lua description.
-rw-r--r--samples/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/README b/samples/README
index 5e7b338..a273af8 100644
--- a/samples/README
+++ b/samples/README
@@ -31,5 +31,14 @@ servers as well.
31This module implements file retrieval by the TFTP protocol. Its main use 31This module implements file retrieval by the TFTP protocol. Its main use
32is to test the UDP code, but someone might find it usefull. 32is to test the UDP code, but someone might find it usefull.
33 33
34 broadcast.lua -- Broadcast telnet server
35
36This is a simple server that waits simultaneously on two server sockets for
37telnet connections. Everything it receives from the telnet clients is
38broadcast to every other connected client. It tests the select function and
39shows how to create a simple server whith LuaSocket. Just run broadcast.lua
40and then open as many telnet connections as you want to ports 8080 and
418081.
42
34Good luck, 43Good luck,
35Diego. 44Diego.