Skip to content

stropdale/SwiftPing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwiftPing

A network Ping implementation for iOS. Written in Swift.

A wrapper for SimpleSwiftPing by François Lamboley and example application.

Usage

// Use a domain name or an ip address

// let hostName = "192.168.1.2" 
let hostName = "google.com"

let ping = Ping.init(hostName: hostName, completion: { (result, message) in
    
    // Do something with the response.
    
})
ping.sendPing()

About

Ping implementation for iOS in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages