|
-
Nov 17th, 2002, 05:49 AM
#1
Thread Starter
Addicted Member
WOL for .Net
I'm having trouble trying to get my WOL code converted from VB6 to .Net. Does anyone have some WOL code they could post? Would be most apprieciated.
Thanks
-
Nov 17th, 2002, 01:21 PM
#2
PowerPoster
Did you run it through the upgrade wizard?
-
Nov 17th, 2002, 08:11 PM
#3
Thread Starter
Addicted Member
no i haven't run it through the upgrade wizard, i dont have that. I'm having trouble trying to get it to send through the sockets. I know how to use the Sockets for normal TCP communication, just having a little trouble when trying to broadcast the message.
-
Nov 17th, 2002, 11:04 PM
#4
Addicted Member
Usually broadcasts are done with UDP. There is an example of how to send a broadcast message in the documentation.
Jeremy
-
Nov 18th, 2002, 08:31 AM
#5
Thread Starter
Addicted Member
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.
-
Nov 18th, 2002, 11:34 AM
#6
Addicted Member
Are you trying to use the old winsock control, or trying to use the .net frame work?
Jeremy
-
Nov 18th, 2002, 03:13 PM
#7
PowerPoster
If you post your old project, I will run it through the upgrade wizard for you if you want. It probably won't cure everything, but might give you a good start towards converting the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|