Skip to content

kicken/php-etherwake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Etherwake

Generate and send a magic Wake-on-lan packet.

Example

$targetMac = "b4:2e:99:ed:3e:20";

//Send magic packet to global broadcast address 255.255.255.255 on UDP port 9
\Kicken\Etherwake\etherwake($targetMac);

//Send magic packet to network broadcast address 192.168.10.255 on UDP port 9
\Kicken\Etherwake\etherwake($targetMac, '192.168.10.255');

//Send magic packet to network broadcast address 192.168.10.255 on UDP port 7
\Kicken\Etherwake\etherwake($targetMac, '192.168.10.255', 7);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages