|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to send a WOL Magic Packet?I want to write a little app that will send out the special "magic
packet" to start up a computer on my LAN. I've downloaded a couple of free apps that do this but they're rather simplistic (eg: they don't save the needed info from one use to the next). I'm thinking it shouldn't be too difficult to write something myself. But, I don't know the details of what the "magic packet" is made up of or how it's laid out. I think it's a UDP message but that's about all I know. Can anyone point me to something that would tell me what I need to know? Maybe even some VB6 code? Thanks Can you post the code you have already (all of it), or point us to the code
you're using? "Martin" <martinval***@comcast.net> wrote in message I want to write a little app that will send out the special "magicnews:97jpj35rnk815g3hcnvtgdqohsm09o7lor@4ax.com... packet" to start up a computer on my LAN. I've downloaded a couple of free apps that do this but they're rather simplistic (eg: they don't save the needed info from one use to the next). I'm thinking it shouldn't be too difficult to write something myself. But, I don't know the details of what the "magic packet" is made up of or how it's laid out. I think it's a UDP message but that's about all I know. Can anyone point me to something that would tell me what I need to know? Maybe even some VB6 code? Thanks
Show quote
"Martin" <martinval***@comcast.net> wrote in message Mate, I was interested in this myself so went to the extra trouble of news:97jpj35rnk815g3hcnvtgdqohsm09o7lor@4ax.com... >I want to write a little app that will send out the special "magic > packet" to start up a computer on my LAN. > > I've downloaded a couple of free apps that do this but they're rather > simplistic (eg: they don't save the needed info from one use to the > next). I'm thinking it shouldn't be too difficult to write something > myself. But, I don't know the details of what the "magic packet" is > made up of or how it's laid out. I think it's a UDP message but that's > about all I know. > > Can anyone point me to something that would tell me what I need to > know? Maybe even some VB6 code? googling it. In all of 30 seconds I had an answer. I stuck it in VB and it worked. Michael On Thu, 15 Nov 2007 18:25:54 -0500, "Randy Birch"
<rgb_removet***@mvps.org> wrote: >Can you post the code you have already (all of it), or point us to the code I have nothing - I'm not using any code yet.>you're using? What I have are a couple of free, compiled apps that I downloaded and installed.
Show quote
On Fri, 16 Nov 2007 10:52:12 +1100, "Michael C" <mike@nospam.com> Would you mind pointing me to what you found?wrote: >"Martin" <martinval***@comcast.net> wrote in message >news:97jpj35rnk815g3hcnvtgdqohsm09o7lor@4ax.com... >>I want to write a little app that will send out the special "magic >> packet" to start up a computer on my LAN. >> >> I've downloaded a couple of free apps that do this but they're rather >> simplistic (eg: they don't save the needed info from one use to the >> next). I'm thinking it shouldn't be too difficult to write something >> myself. But, I don't know the details of what the "magic packet" is >> made up of or how it's laid out. I think it's a UDP message but that's >> about all I know. >> >> Can anyone point me to something that would tell me what I need to >> know? Maybe even some VB6 code? > >Mate, I was interested in this myself so went to the extra trouble of >googling it. In all of 30 seconds I had an answer. I stuck it in VB and it >worked. > >Michael > I spent at least 30 minutes googling and found nothing in the way of code. What I did find were some complete applications - a couple of which I downloaded, installed and played with a little (as I explained in my original post). "Martin" <martinval***@comcast.net> wrote in message Search google for "magic packet vb6" and click on the very first link. Code news:nuspj35a8sgofrakg7ourb02o6cnlh3va1@4ax.com... > Would you mind pointing me to what you found? > > I spent at least 30 minutes googling and found nothing in the way of > code. What I did find were some complete applications - a couple of > which I downloaded, installed and played with a little (as I explained > in my original post). is at the bottom of the page, ignore the bit that says "email this code to me". Show quote > >
Show quote
On Fri, 16 Nov 2007 12:47:20 +1100, "Michael C" <mike@nospam.com> Michael C - Thanks for the tip. I downloaded that info and used it towrote: >"Martin" <martinval***@comcast.net> wrote in message >news:nuspj35a8sgofrakg7ourb02o6cnlh3va1@4ax.com... >> Would you mind pointing me to what you found? >> >> I spent at least 30 minutes googling and found nothing in the way of >> code. What I did find were some complete applications - a couple of >> which I downloaded, installed and played with a little (as I explained >> in my original post). > >Search google for "magic packet vb6" and click on the very first link. Code >is at the bottom of the page, ignore the bit that says "email this code to >me". > write a little program that does just what I want. FWIW, I had been googling for "wake on lan", searching both in the groups and on the internet in general and had been unsuccessful in finding any code. Thanks again. "Martin" <martinval***@comcast.net> wrote in message You need to put the term vb6 in there otherwise you just get articles on news:9fdrj3pagggf8qsng2kvh7ak7udb6qi4a9@4ax.com... > Michael C - Thanks for the tip. I downloaded that info and used it to > write a little program that does just what I want. > > FWIW, I had been googling for "wake on lan", searching both in the > groups and on the internet in general and had been unsuccessful in > finding any code. wol. Michael |
|||||||||||||||||||||||