Connection checker

381
Vote up!

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)
Works with Corona build #: 
2013.2100
Category: 
Contributor: 
ProGM