WakeOnLan procedure

procedure WakeOnLan(MAC, IP: string);

Unit
synamisc

Description
By this function you can turn on computer on network, if this computer supporting Wake-on-lan feature.

You need MAC number (network card indentifier). you can also assign target Ip addres. If you nbot specify it, then is used broadcast fr delivary magic wake-on packet.

However broadcasts is not delivered to another network. in this case you can specify any existing IP addres on same network segment as targeting computer.