Results 1 to 4 of 4

Thread: Remote Call over LAN

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2002
    Posts
    41

    Remote Call over LAN

    Hi,
    Im sure this has been asked several times before but here goes!!!

    I need a program running on 1 machine, that will grind away happily in the background.

    Another app will run on a second machine so that when the user presses a cmd button, a signal is sent over the network, recieved by the app running on computer 1, and then computer 1 is automatically shut down.

    Any help much appreciated

  2. #2
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    which operation system are you using??

  3. #3
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Three problems:
    1 - How to get a message from one machine to another.
    2 - How to get a machine to shutdown.
    3 - How to get the program to run in the background.

    1: Use Winsock - plenty of examples in this forum.
    2: Use the API - See www.allapi.net
    3: If NT / 2000. Create the program as a service.

    OR, find a tool that already does this. They are available in many of the NT / Windows 2000 Resource Kits. Called something like RShutdown.

  4. #4
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    under 2000 Xp and I'm not sure bout NT, you can just
    use the shell command to execute shutdown.

    go to a command prompt and type shutdown /?

    that's probably your easiest way if you have permission on the other machines.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width