Last updated:
0 purchases
arp cache loader
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:
ArpLoader.loadRawArpCache() loads raw arp cache as string;
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');
}
copied to clipboard
Platforms #
windows
android
linux
macos(untested)
Warning #
This package may not work on Android11+(>=30)
Issues #
Please submit issues at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.