|
-
Nov 9th, 1999, 07:32 PM
#1
Thread Starter
New Member
Can someone tell me how to send a shutdown command to a remote computer through Winsock?? I can't even connect at the moment so any help would be appreciated.
Cheerz, Gazz....
------------------
Don't let your fears stand in the way of your dreams.
-
Nov 10th, 1999, 09:38 PM
#2
Addicted Member
If you use NT try InitiateSystemShutdown function.
InitiateSystemShutdown(lpMachineName, lpMessage, dwTimeout, bForceAppsClosed, bRebootAfterShutdown)
------------------
smalig
[email protected]
smalig.tripod.com
-
Nov 10th, 1999, 09:57 PM
#3
InitiateSystemShutdown API will work only on NT. Besides, you have to have the other computer running your program (listen to the arriving data).
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
-
Nov 10th, 1999, 11:49 PM
#4
Hyperactive Member
I just made a simple server that does this... It works, but has a few bugs which you can work out, but like I said it works.
ftp://compwiz.tzo.com/pub/ShutdownServer.zip
Please lemme know if this works! e-mail or re-post! Thanx.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470
AIM: TomY10
PERL, JavaScript and VB Programmer
[This message has been edited by Compwiz (edited 11-11-1999).]
-
Nov 11th, 1999, 01:17 AM
#5
Lively Member
Email me, i have a server/client program that definetly works on win95 and 98
ill send it 2 u.
------------------
jimmy
ICQ:35813919
mail:[email protected]
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
|