point-source / dart_ping

Multi-platform network ping utility for Dart
31 stars 14 forks source link

when ping count 4,why it returns multiple results #57

Open keenlee123 opened 12 months ago

keenlee123 commented 12 months ago

PingResponse(seq:1, ip:110.242.68.66, ttl:53, time:36.3 ms) PingResponse(seq:2, ip:110.242.68.66, ttl:53, time:19.1 ms) PingResponse(seq:2, ip:110.242.68.66, ttl:53, time:19.2 ms) PingResponse(seq:2, ip:110.242.68.66, ttl:53, time:19.9 ms) PingResponse(seq:2, ip:110.242.68.66, ttl:53, time:20.7 ms) PingResponse(seq:2, ip:110.242.68.66, ttl:53, time:21.7 ms) PingResponse(seq:3, ip:110.242.68.66, ttl:53, time:66.6 ms) PingResponse(seq:4, ip:110.242.68.66, ttl:53, time:70.7 ms)

point-source commented 12 months ago

What platform? Can you post a code example that produces this? There isn't enough information here for me to diagnose this.

keenlee123 commented 11 months ago

platform :windows code ` final ping = Ping('xxxx.com', count: 4); ping.stream.listen((event) { print('ping result $event');

});`

keenlee123 commented 11 months ago

platform :windows code ` final ping = Ping('xxxx.com', count: 4); ping.stream.listen((event) { print('ping result $event');

});`

forgot platform, should be on Android

point-source commented 11 months ago

Emulator or real device?

afzl-wtu commented 10 months ago

Happened here too. But Can not produce it any more #60