Wake-on-LAN (also called WOL, or WoL) is an Ethernet networking standard based on message broadcast, that allows a workstation or server to be turned on remotely by a 'magic packet' network message. To do so, Wake on LAN must be supported by the motherboard and needs to be enabled (on most motherboards, it is disabled by default). With Wake-on-LAN, a network card listens for a special packet called "Magic Packet." This Magic Packet is broadcasted on a LAN. When a computer with Wake-on-LAN enabled receives the packet, the network card instructs the computer to power on and boots the machine.
ActiveSocket can be well integrated into HTML environments.
This document describes how ActiveSocket can be integrated into HTML projects.
When using HTML, there are two ways to install the ActiveSocket Toolkit on a client PC:
You can install the ActiveSocket Toolkit automatically using the following HTML code on top of the HTML page:
<head>
<object id="objSocket" codeBase="http://www.activexperts.com/files/network-component/asocket.dll" height="30" width="200"
classid="CLSID:916C28A2-8314-4AA5-9E25-18E5DEFBE2A3" viewastext></object>
</head>
The ActiveSocket Toolkit will be installated automatically. The user will be asked to confirm the installation, because the DLL is coming from an untrusted site (www.activexperts.com).
There are two ways to avoid prompting:
On each client PC, download the ActiveSocket Toolkit from the ActiveXperts Download Site and start the installation. The installation guides you through the installation process.
You must use Javascript to declare and create the objects.
Use the following Javascript code to declare and create the object:
var objWOL; objWOL = new ActiveXObject ( "ActiveXperts.WOL" );
There are WOL samples included with the product. You can also find them on the ActiveXperts FTP site: ftp.activexperts-labs.com/samples/asocket