wake_on_lan
4.1.1+3, released 3 years ago by jagandeepbrar.io
Send wake-on-LAN magic packets to devices on a local network.
What it does
Allows you to construct IP and MAC address instances, optionally include a SecureON password, and send Wake-on-LAN magic packets over UDP to wake local network devices.
AI-written summary of version 4.1.1+3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to wake up local computers or devices from your Dart/Flutter application using Wake-on-LAN.
- You are targeting Android, iOS, Windows, macOS, or Linux platforms.
Skip it when
- You are targeting web browsers, since UDP sockets are not available in browsers due to security constraints.
- You need delivery confirmation, as UDP sockets cannot confirm if the machine has been successfully awoken.
Strengths
- Supports both IPv4 and IPv6 addresses.
- Supports SecureON password authentication and optional repeated packet sending.
Weaknesses
- Does not support web platforms because of browser security constraints regarding UDP.
- Cannot confirm if the target machine has actually been awoken due to the nature of UDP.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
String address = 'AA:BB:CC:DD:EE:FF';
final validation = MACAddress.validate(address);
if(validation.state) {
MACAddress mac = MACAddress(address);
}Alternatives
Packages that do the same job and could replace wake_on_lan.
- http2
An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.
91Compare - network_tools
Discover open ports, devices on a subnet, and perform network scanning.
87Compare - dart_ping
Multi-platform ICMP ping utility for Dart and Flutter with live statistics.
66Compare - ping_discover_network_forked
Library to ping IP subnets and discover local network devices and services.
48Compare
Works with
Packages commonly used together with wake_on_lan: ones it builds on, ones built on it, and its own family.