Network Diagnosis Library,support Ping/TcpPing/Rtmp/TraceRoute/DNS/external IP/external DNS。
gradle
compile 'com.qiniu:android-netdiag:0.1.1'
Ping.start("www.baidu.com", 10, new TestLogger(), new Ping.Callback() {
@Override
public void complete(Ping.Result r) {
...
}
});
TcpPing.start("www.baidu.com", new TestLogger(), new TcpPing.Callback() {
@Override
public void complete(TcpPing.Result r) {
...
}
});
./gradlew connectedAndroidTest
Please Look atContributing Guide。
- If you find any bug, please submit issue
- If you need any feature, please submit issue
- If you want to contribute, please submit pull request
The MIT License (MIT). License.