Searched refs:ttl (Results 1 – 6 of 6) sorted by relevance
248 public void send(DatagramPacket packet, byte ttl) throws IOException { in send() argument252 if (packAddr.isMulticastAddress() && (byte) currTTL != ttl) { in send()254 setTimeToLive(ttl & 0xff); in send()307 public void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument309 if (ttl < 0 || ttl > 255) { in setTimeToLive()310 throw new IllegalArgumentException("TimeToLive out of bounds: " + ttl); in setTimeToLive()312 impl.setTimeToLive(ttl); in setTimeToLive()323 public void setTTL(byte ttl) throws IOException { in setTTL() argument325 impl.setTTL(ttl); in setTTL()
217 protected abstract void setTimeToLive(int ttl) throws IOException; in setTimeToLive() argument232 protected abstract void setTTL(byte ttl) throws IOException; in setTTL() argument
193 public void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument194 setOption(IoBridge.JAVA_IP_MULTICAST_TTL, Integer.valueOf(ttl)); in setTimeToLive()198 public void setTTL(byte ttl) throws IOException { in setTTL() argument199 setTimeToLive((int) ttl & 0xff); // Avoid sign extension. in setTTL()
708 …public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) th… in isReachable() argument709 if (ttl < 0 || timeout < 0) { in isReachable()
136 protected void setTTL(byte ttl) throws IOException { in setTTL() argument141 protected void setTimeToLive(int ttl) throws IOException { in setTimeToLive() argument
69 @Deprecated public void checkMulticast(InetAddress maddr, byte ttl) { } in checkMulticast() argument