摘要:
// 局域网远程唤醒(Wakeup On LAN) -- 发送一个Magic Packet到某个MAC地址// Magic Packet:UDP广播包,端口不限,数据是FF-FF-FF-FF-FF-FF加16个MAC// 编译:cl sendmagic.cpp ws2_32.lib#include <windows.h>#include <stdio.h>int main(int argc, char *argv[]){//检查命令行参数if(argc!=2){printf("Wakeup your PC on LAN! by CJ<4uto@163.c 阅读全文