Code Monkey home page Code Monkey logo

simplepinghelper's Introduction

simplepinghelper's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplepinghelper's Issues

how to get this when ping

64 bytes from 123.30.53.19: icmp_seq=0 ttl=249 time=2.587 ms, how to get this? just like when ping on mac terminal.

Memory keep increasing when to ping many IPs.

I have a problem on my Mac app. I want to ping 30 IPs every 30 seconds. And when I do this, I found my app's memory keep increasing. And when ping stops, the memory won't reduce. Then I start a testing project and get the same result. But if there is a few IPs and not so high frequency, all is work fine.

Am I use it in the wrong way?

What is the usage of after delay time here.

Hi,

I would like to know in detail what is the use of the following function. Anybody could you please explain in detail because I am facing timeout issue while try to connecting with wifi network.

[self performSelector:@selector(endTime) withObject:nil afterDelay:2];

is it necessary to call above function and what will be the effect if we would not use this function.
Please explain in detail.

Thanks in advance.

  • (void)go {
    if ([NSThread isMainThread]) {
    [self.simplePing start];
    //[self performSelector:@selector(endTime) withObject:nil afterDelay:2]; // This timeout is what retains the ping helper
    } else {
    dispatch_sync(dispatch_get_main_queue(), ^{
    NSLog(@"Moving ping to main thread");
    [self.simplePing start];
    // [self performSelector:@selector(endTime) withObject:nil afterDelay:2];
    });
    }

}

All Pings Fail in iOS 5.1 Simulator and on device

It looks like didReceivePingResponsePacket is never called. The timeout occurs and the ping fails. Even if I change the timeout to 10 seconds it is never fired once.....any ideas?

If you implement the SimplePing delegates in a view controller it works as expected.

I have tried multiple IP's that I know are up on my local network (I can ping them in Terminal).

block main thread in iOS9

[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(pingAddress) userInfo:nil repeats:YES];

ping a series of IPs, it will block the main thread

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.