Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How use Magic Packet with VB6?

Status
Not open for further replies.

cibor

IS-IT--Management
Feb 16, 2001
1
ES
Do you know how you can use the magic packet (this is a ip packet that allow you to switch on a computer) from VBasic?
Or how you can switch on a pc remotely?

Thank's from suny place.gg!
 
You normally send the WOL packet (Wake On LAN) by opening a socket in raw mode.

But... The Microsoft TCP/IP stack does not allow you to do this, so you can't ever send one. You'd have to remove the Microsoft stack, and install one that does permit this (I think Hummingbird offers one, NetManage does for sure).

I don't know what replacing the MS TCP/IP stack with a 3rd party's stack would break -- probably Internet Explorer since it's tied so closely to the OS, possibly a lot of other applications as well that were never tested on other people's stacks.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top