Latest 0.1.0
Homepage https://github.com/JadianZheng/JAPing
License MIT
Platforms ios 6.0
Authors

CI Status
Version
License
Platform

Example

Code

let baiduPinger = JAPing(hostName: "baidu.com", unexpertError: nil)
baiduPinger.configuare.pingCount = 8
baiduPinger.start()

Result – See more in example

PING baidu.com (220.181.57.216)
64 bytes from 220.181.57.216: icmp_seq=0 time=0.049 ms
64 bytes from 220.181.57.216: icmp_seq=1 time=0.05 ms
64 bytes from 220.181.57.216: icmp_seq=2 time=0.048 ms
64 bytes from 220.181.57.216: icmp_seq=3 time=0.048 ms
64 bytes from 220.181.57.216: icmp_seq=4 time=0.049 ms
64 bytes from 220.181.57.216: icmp_seq=5 time=0.055 ms
64 bytes from 220.181.57.216: icmp_seq=6 time=0.048 ms
64 bytes from 220.181.57.216: icmp_seq=7 time=0.055 ms
--- baidu.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.048/0.05/0.055/0.003 ms

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

JAPing is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'JAPing'

Author

JadianZheng, [email protected]

License

JAPing is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JAPing",
    "version": "0.1.0",
    "summary": "A usedful ping tool build by "Simple Ping"(Support swift 4), hope it can help you",
    "description": "JAPing contains a single ping tool and mutiple ping tools. Timeout configure have not implemented.",
    "homepage": "https://github.com/JadianZheng/JAPing",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "JadianZheng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JadianZheng/JAPing.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "JAPing/Classes/**/*"
}

Pin It on Pinterest

Share This