Ok, i think i have that under control. I think i do.

Now another thing i am having trouble with is making the magic packet. i think the way .net handles Byte arrays seems to be different from VB6.

There are so many areas in which my code could be going wrong. If anyone has some working code for this i would greatly appreciate it. Might save me a quite a few hours of torture.