connection

A simple connectivity checker.
Example of use:

local connection = require("connection")
connection.test(function (isAvaliable)
    if isAvailable then
       print("Connection available!")
    else
        print("No connection :(")
    end
end)
Comments, 381 Votes - submitted on 26/03/2014 view repo