class Pinger

Defined in:

pinger.cr

Constant Summary

OS = (`uname`).strip.downcase
VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, count : Int32 = 1, timeout : Int32 = 5) #

[View source]

Instance Method Detail

def count : Int32 #

[View source]
def duration : Int32? #

[View source]
def exception : String? #

[View source]
def host : String #

[View source]
def ip : Socket::IPAddress? #

[View source]
def ping #

[View source]
def ping! #

[View source]
def pingable : Bool? #

[View source]
def timeout : Int32 #

[View source]
def warning : String? #

[View source]