下载地址:https://github.com/chrishulbert/SimplePingHelper
只需要把SimplePing.h,SimplePing.m,SimplePingHelper.h,SimplePingHelper.m引入到项目中
//
// ViewController.m
// SimplePing
//
// Created by 宝 on 15-3-27.
// Copyright (c) 2015年 rcm. All rights reserved.
//
#import "ViewController.h"
#import "SimplePingHelper.h"
@interface ViewController ()
@end
@impleme