blob: 0d54bd75af9b0edaf1f3d8cb520c139e1225d79d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This package sends wake-on-lan packets to turn on machines
that are wake-on-lan capable.
For now there is only one function in this package:
Net::Wake::by_udp(host, mac_address, [port]);
You can power on PCs by
perl -e 'use Net::Wake; Net::Wake::by_udp("192.168.0.1", "xx:xx:xx:xx:xx:xx");'
You can also specify broadcast address for `host'. It is useful in a
intelligent network.
--
Yoshihiko Sarumaru <mistral@imasy.or.jp>
|