diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:24:43 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:24:43 +0000 |
| commit | c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3 (patch) | |
| tree | 8d8b8aa856d8a3e822121d0915a63b8244f471bb /test/testsrvr.lua | |
| parent | 9297b074d53a00e1149250e0bbfa0871dcc5558f (diff) | |
| download | luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.gz luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.bz2 luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.zip | |
Bug feioso no UDP e possivelmente no TCP também.
Diffstat (limited to 'test/testsrvr.lua')
| -rw-r--r-- | test/testsrvr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index 5c05239..d172a9e 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | require "luasocket" | ||
| 2 | |||
| 1 | host = host or "localhost" | 3 | host = host or "localhost" |
| 2 | port = port or "8080" | 4 | port = port or "8080" |
| 3 | 5 | ||
| @@ -22,8 +24,6 @@ while 1 do | |||
| 22 | print("server: closing connection...") | 24 | print("server: closing connection...") |
| 23 | break | 25 | break |
| 24 | end | 26 | end |
| 25 | print(command); | ||
| 26 | |||
| 27 | (loadstring(command))() | 27 | (loadstring(command))() |
| 28 | end | 28 | end |
| 29 | end | 29 | end |
