lib/hackers.rb
def cmdCheckCon
        params = {
          "check_connectivity"  => 1,
          "app_version"         => @config["version"],
        }
        response = @client.request(params, @sid)
        return response.to_i
      end
##
# Checks network connectivity
#
# Returns 1 if the request is successful
Checks network connectivity
Returns 1 if the request is successful
Checks network connectivity Returns 1 if the request is successful
def cmdCheckCon
        params = {
          "check_connectivity"  => 1,
          "app_version"         => @config["version"],
        }
        response = @client.request(params, @sid)
        return response.to_i
      end
def cmdCheckCon params = { "check_connectivity" => 1 , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response . to_i end
Checks network connectivity
Returns 1 if the request is successful
Checks network connectivity Returns 1 if the request is successful