public Ping setTimeToLive(int timeToLive) {
        if (timeToLive < 1) throw new IllegalArgumentException("TTL cannot be less than 1");
        pingOptions.setTimeToLive(timeToLive);
        return this;
    }
Set the time to live

@param timeToLive - the TTL for each ping
@return this object to allow chaining
library/src/main/java/com/stealthcopter/networktools/Ping.java