libguac 1.5.5
|
Header that provides functions and structures related to Wake-on-LAN support in libguac. More...
Go to the source code of this file.
Functions | |
int | guac_wol_wake (const char *mac_addr, const char *broadcast_addr, const unsigned short udp_port) |
Send the wake-up packet to the specified destination, returning zero if the wake was sent successfully, or non-zero if an error occurs sending the wake packet. | |
Header that provides functions and structures related to Wake-on-LAN support in libguac.
int guac_wol_wake | ( | const char * | mac_addr, |
const char * | broadcast_addr, | ||
const unsigned short | udp_port ) |
Send the wake-up packet to the specified destination, returning zero if the wake was sent successfully, or non-zero if an error occurs sending the wake packet.
Note that the return value does not specify whether the system actually wakes up successfully, only whether or not the packet is transmitted.
mac_addr | The MAC address to place in the magic Wake-on-LAN packet. |
broadcast_addr | The broadcast address to which to send the magic Wake-on-LAN packet. |
udp_port | The UDP port to use when sending the WoL packet. |