dart_ping 1.0.0
dart_ping: ^1.0.0 copied to clipboard

discontinued

Tool for pinging remote hosts from Dart

example/dart_ping_example.dart

import 'package:dart_ping/dart_ping.dart';

main() async {
  var stream = await ping("google.com", times: 5);

  print("Pinging google.com");
  stream.listen((d) {
    print(d.time.inMilliseconds);
  });
}