WakeOnLAN Method

Sends a Wake-On-LAN packet.

Object Oriented Interface

public function doWakeOnLAN($remotehost, $macaddress);

Procedural Interface

ipworks_ping_do_wakeonlan($res, $remotehost, $macaddress);

Remarks

When this method is called, a "Wake-On-LAN" packet is sent to RemoteHost (which may also be a broadcast address). This has the effect of powering on the machine (if such functionality is supported by the network card on the remote machine).

The physical address of the remote host must be supplied in the MACAddress parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]