Sample of sending Wake-on-LAN magic packets in C/C++.
Set the IP address and MAC address, build the solution with Visual Studio, and use the generated executable file.
Set the broadcast address for the Wake-on-LAN target PC within the network.
#define IP_ADDRESS "192.168.64.15"
Set the MAC address for the Wake-on-LAN target NIC.
#define MAC_ADDRESS "c8:60:00:dd:ea:b9"
This software is licensed under the Unlicense.
- MagicPacket - Sample written in C#
- MagicPacketBatch - Sample batch file