public Ping setTimes(int noTimes) {
        if (noTimes < 0) throw new IllegalArgumentException("Times cannot be less than 0");
        this.times = noTimes;
        return this;
    }
Set number of times to ping the address

@param noTimes - number of times, 0 = continuous
@return this object to allow chaining
library/src/main/java/com/stealthcopter/networktools/Ping.java