{"id":1603,"url":"https://github.com/cdzombak/CDZPinger","last_synced_at":"2025-08-02T04:31:58.156Z","repository":{"id":7401666,"uuid":"8731984","full_name":"cdzombak/CDZPinger","owner":"cdzombak","description":"Easy-to-use ICMP Ping for iOS (and maybe OSX)","archived":true,"fork":false,"pushed_at":"2014-06-09T21:22:54.000Z","size":168,"stargazers_count":49,"open_issues_count":1,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-13T11:02:46.249Z","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/cdzombak.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}},"created_at":"2013-03-12T16:03:39.000Z","updated_at":"2024-05-01T02:35:44.000Z","dependencies_parsed_at":"2022-08-28T01:21:57.962Z","dependency_job_id":null,"html_url":"https://github.com/cdzombak/CDZPinger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2FCDZPinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2FCDZPinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2FCDZPinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdzombak%2FCDZPinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdzombak","download_url":"https://codeload.github.com/cdzombak/CDZPinger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228439023,"owners_count":17920017,"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-01-05T20:15:51.141Z","updated_at":"2024-12-06T08:31:18.781Z","avatar_url":"https://github.com/cdzombak.png","language":"Objective-C","funding_links":[],"categories":["Networking"],"sub_categories":["Video","Other free courses"],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2FCDZPinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdzombak%2FCDZPinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdzombak%2FCDZPinger/lists"}