In my code it dont work (if i remove the last to lines the server get 1 alarm but more is not possible)
sk=net.createConnection(net.TCP, 0)
sk:on("receive", function(sck, c) print(c) end )
sk:connect(8080,"192.168.43.1")
sk:send("alarm!\r\n")
sk:send("alarm!\r\n")
sk:close()