mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-16 18:28:21 +01:00
6368caeb5a
There seems to be a curious difference between MacOS and Linux and I am not sure if this is documented. When you break a "connection" on Mac OS, you only eliminate the peer association, but the local address remains bound. On Linux, breaking a "connection" eliminates the binding to the local address. Have you guys ever come accross this? Another irritating difference is that connect() returns the error EAFNOSUPPORT on Mac OS. I am going to ignore all errors when the reason for calling connect() is simply to break the "connection". |
||
---|---|---|
.. | ||
auth | ||
cgi | ||
dicttest.lua | ||
excepttest.lua | ||
find-connect-limit | ||
ftptest.lua | ||
hello.lua | ||
httptest.lua | ||
index.html | ||
ltn12test.lua | ||
luasocket.png | ||
mimetest.lua | ||
README | ||
smtptest.lua | ||
stufftest.lua | ||
tcp-getoptions | ||
testclnt.lua | ||
testmesg.lua | ||
testsrvr.lua | ||
testsupport.lua | ||
tftptest.lua | ||
udp-zero-length-send | ||
udp-zero-length-send-recv | ||
udpconnectclnt.lua | ||
udpconnectsrvr.lua | ||
unixclnt.lua | ||
unixsrvr.lua | ||
upload.html | ||
urltest.lua | ||
utestclnt.lua | ||
utestsrvr.lua |
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. hello.lua -- run to verify if installation worked Good luck, Diego.