FLUTTER ECOSYSTEM

zuvola/flutter_icmp_ping

ICMP ECHO_REQUEST를 전송하는 Flutter 플러그인

flutter_icmp_ping 프로젝트 이미지
Stars
5
Forks
15
최근 푸시(UTC)
2023. 9. 1.
프로젝트 상태
활성
zuvola GitHub avatar
언어Objective-CDartSwiftKotlinRubyC

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개
  • async^2.11.0
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • flutter_lints개발 의존성^2.0.3

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

flutter_icmp_ping

Flutter plugin that sends ICMP ECHO_REQUEST.

pub package

Supported platforms

  • Flutter Android
  • Flutter iOS

Getting Started

To use this plugin, add flutter_icmp_ping as a dependency in your pubspec.yaml file.

dependencies:
  flutter_icmp_ping:

Import the library in your file.

import 'package:flutter_icmp_ping/flutter_icmp_ping.dart';

See the example directory for a complete sample app using Ping. Or use the Ping like below.

try {
  final ping = Ping(
    'google.com',
    count: 3,
    timeout: 1,
    interval: 1,
    ipv6: false,
    ttl: 40,
  );
  ping.stream.listen((event) {
    print(event);
  });
} catch (e) {
  print('error $e');
}