mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-01-30 16:42:50 +01:00
51acb54760
A zero-length send is invalid with TCP, but well defined with UDP. udp:send"" was returning (nil,"refused"), indicating that it failed when the packet was actually sent. The test script reproduces the bug, and includes a tcpdump of the zero length packet being sent.
This provides the automated test scripts used to make sure the library is working properly. The files provided are: testsrvr.lua -- test server testclnt.lua -- test client To run these tests, just run lua on the server and then on the client. Good luck, Diego.