diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testClient.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testClient.lua b/test/testClient.lua index fbbcf87..871207a 100644 --- a/test/testClient.lua +++ b/test/testClient.lua @@ -12,8 +12,9 @@ local function func() sock = luaevent.wrap(sock) print(assert(sock:connect("localhost", 20000))) for i = 1, 100 do assert(sock:send("Greet me ")) assert(sock:receive(10)) collectgarbage() end + print("COMPLETE") end luaevent.addthread(func) -luaevent.loop()
\ No newline at end of file +luaevent.loop() |