Search code examples
actionscript-3flex4airwake-on-lan

Is wake on LAN possible in Flex/AIR?


Title pretty much says it all... ;)

I'm looking for a way to allow my AIR application to wake a computer on my local network, but can't figure out how to send an UDP packet.

Of course I'm talking about an AS3/Flex/AIR solution, I know I could use NativeProcess but I'd like to stick with my multi-platform .air file.

I don't think AIR has support for broadcasting such UDP packets, but maybe someone will get an idea.
I don't know much about Alchemy, could it be of any help as it allows running C compiled code?

Thanks in advance for your help.


Solution

  • Look into DatagramSocket class. Alchemy will not reveal hidden system capabilities for you, it's about transferring fast arythmetics into flash bytecode.