arp_cache_loader 1.0.1 copy "arp_cache_loader: ^1.0.1" to clipboard
arp_cache_loader: ^1.0.1 copied to clipboard

Loading tools of arp cache, which make it more convenient to find corresponding mac address by ip address.

arp-cache-loader #

Loading tools of arp cache, which make it more convenient to find corresponding mac address by ip address.

Created from templates made available by Stagehand under a BSD-style license.

中文文档

Usage #

ArpLoader provides two methods to load arp cache:

  1. ArpLoader.loadRawArpCache() loads raw arp cache as string;
  2. ArpLoader.loadArpCacheMap() loads arp cache and parse it to a map with ip address as the key and mac address as the value.

Here is a simple usage example:

import 'package:arp_cache_loader/arp_cache_loader.dart';

void main() async{
  // load raw arp cache as string
  final String rawArpCache = await ArpLoader.loadRawArpCache();

  print('Raw arp cache: $rawArpCache');

  // load arp cache as map
  final Map<String,String> arpCacheMap = await ArpLoader.loadArpCacheAsMap();

  print('Arp cache in map: $arpCacheMap');
}

Platforms #

  • windows
  • android
  • linux
  • macos(untested)

Warning #

Issues #

Please submit issues at the issue tracker.

0
likes
140
pub points
51%
popularity

Publisher

unverified uploader

Loading tools of arp cache, which make it more convenient to find corresponding mac address by ip address.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on arp_cache_loader