{"id":22421490,"url":"https://github.com/codeweaver13/cdzpinger-new","last_synced_at":"2025-03-27T05:17:35.227Z","repository":{"id":74676177,"uuid":"100847010","full_name":"CodeWeaver13/CDZPinger-New","owner":"CodeWeaver13","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-20T09:08:36.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T10:25:32.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeWeaver13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-20T07:59:37.000Z","updated_at":"2017-08-20T08:01:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc57f814-d621-4062-bd53-e41fdffbc6d6","html_url":"https://github.com/CodeWeaver13/CDZPinger-New","commit_stats":null,"previous_names":["codeweaver13/cdzpinger-new"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FCDZPinger-New","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FCDZPinger-New/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FCDZPinger-New/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FCDZPinger-New/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWeaver13","download_url":"https://codeload.github.com/CodeWeaver13/CDZPinger-New/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785805,"owners_count":20671634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T17:07:25.222Z","updated_at":"2025-03-27T05:17:35.206Z","avatar_url":"https://github.com/CodeWeaver13.png","language":"Objective-C","readme":"# CDZPinger\n\nEasy-to-use ICMP ping for iOS - just create a CDZPinger and you delegate gets a callback every second with the average ping time.\n\n## Installation\n\nAdd the dependency to your `Podfile`:\n\n```ruby\nplatform :ios\npod 'CDZPinger'\n...\n```\n\nRun `pod install` to install the dependencies.\n\n## Usage\n\n`#import \"CDZPinger.h\"` and:\n\n```objc\nCDZPinger *pinger = [[CDZPinger alloc] initWithHost:@\"google.com\"];\n// keep a strong reference to pinger, maybe in a property somewhere\n\npinger.delegate = self;\n// (assuming self is your CDZPingerDelegate)\n```\n\nIn your delegate:\n\n```objc\n#pragma mark CDZPingerDelegate\n\n- (void)pinger:(CDZPinger *)pinger didUpdateWithAverageSeconds:(NSTimeInterval)seconds\n{\n    NSLog([NSString stringWithFormat:@\"Received ping; average time %.f ms\", seconds*1000]);\n}\n```\n\n## Requirements\n\n`CDZPinger` requires iOS 5.x+. It might work on iOS 4, but I haven't tested it.\n\nThere's also some chance it'll work on OS X, but again, I haven't tested it there either.\n\n## License\n\n[MIT License](http://http://opensource.org/licenses/mit-license.php). See LICENSE for the full details.\n\n## Developer\n\nChris Dzombak, with ICMP ping code from Apple sample code.\n\n* [chris.dzombak.name](http://chris.dzombak.name/)\n* chris@chrisdzombak.net\n* [t@cdzombak](https://twitter.com/cdzombak)\n* [a@dzombak](https://alpha.app.net/dzombak)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeweaver13%2Fcdzpinger-new","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeweaver13%2Fcdzpinger-new","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeweaver13%2Fcdzpinger-new/lists"}