Question

Locked

Creating my own WOL Program

By shadetreeadmin ·
I recently wrote a console application in C that basically allows a person who isn't comfortable with a command line to use two command line utilities to start up and shut down a small group of WinXP computers remotely. This program uses system() to run "PsShutdown" to shut down computers and "mc-wol" to start them again. The program works just fine, but I'd like to boost my programming skills by writing my own shutdown and Wake-On-Lan functions. I've searched the web and didn't come up with much that made sense to me. Where should I get started with this?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Perhaps this link can help

by IC-IT In reply to Creating my own WOL Progr ...

It looks promising; ;-)

http://www.ezlan.net/WOL.html

Collapse -

One more note...

by shadetreeadmin In reply to Creating my own WOL Progr ...

I am thinking that perhaps I should start with one or the other...Either the shutdown code or the WOL code. Also, I am comfortable with C++ (though by no means proficient in any programming language). I see that PHP and Ruby have Magic Packet classes. Is there such a thing for C++?

Collapse -

Couple more links

by IC-IT In reply to One more note...

WOL C#
http://www.codekeep.net/snippets/57f1c93c-ecde-4f3a-889c-03ca674c17f7.aspx

WOL Powershell

http://thepowershellguy.com/blogs/posh/archive/2007/04/01/powershell-wake-on-lan-script.aspx

Back to Desktop Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums