Closed asiontang closed 5 years ago
in the PingNative.java code
PingNative.java
runtime.exec(pingCommand + " -c 1 -w " + timeoutSeconds + " -w" + ttl + " " + address);
maybe below is the right code?
-W + timeoutSeconds -t" + ttl
-W + timeoutSeconds
-t" + ttl
Device Info:
天天模拟器 Android 4.4.4 ZUK Z2 Android 7.1.2
Ping command help:
root@hlteuc:/ # ping Usage: ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface] [-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos] [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline] [-W timeout] [hop1 ...] destination
@asiontang You're completely right, fixing this now! Thanks
Fixed in 0.4.3
in the
PingNative.java
codemaybe below is the right code?
Device Info:
Ping command help: