Merge branch 'master' of github.com:LesnyRumcajs/wakey
This commit is contained in:
commit
159ffc598a
|
@ -3,10 +3,12 @@ Library for managing Wake-on-LAN packets. It supports:
|
|||
* creating magic packets,
|
||||
* broadcasting them via UDP.
|
||||
|
||||
# Typical usage
|
||||
# Usage
|
||||
|
||||
From string representation of MAC address and using defaults when broadcasting:
|
||||
```rust
|
||||
extern crate wakey;
|
||||
|
||||
let wol = wakey::WolPacket::from_string("01:02:03:04:05:06", ':');
|
||||
match wol.send_magic() {
|
||||
Ok(_) => println!("Sent the magic packet!"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user