![]() As far as I can tell, the enableBroadcast method has never had much of an effect, as it would need to be called before WSAConnect in the connect method of Bentschi's library to actually influence the connection.Īccording to the MSDN article for WSAConnect, it should be failing when used for a broadcast address such as 255.255.255. I've read repeatedly around the net that this should not work, even though it appears to work just fine on my system (Win7 Pro 圆4 running AHKU32). When your computers are turned on, WakeMeOnLan allows you to scan your network, and collect the MAC addresses of all your computers, and save the computers list into a file. This effect seems to be reproducible in the original socket library, using your WakeOnLan script here by removing the line UdpOut.enableBroadcast() (or changing it to disable). This utility allows you to easily turn on one or more computers remotely by sending Wake-on-LAN (WOL) packet to the remote computers. However, I've found that when broadcast mode is not explicitly enabled (and even when it is explicitly disabled), it still broadcasts just fine and the computer still wakes up. One of these is a WakeOnLan script, similar to the one you've posted here. While doing this, I've put together a few examples that demonstrate using its various features. How-To Networking How to Turn on Your Computer From Across the House With Wake-on-LAN Need to quickly turn on your PC from another room in your house With Wake-on-LAN, you can. I've been diving deep into Bentschi's socket library lately, actually rebuilding it from the ground up.
0 Comments
Leave a Reply. |