Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help with Communicating with additional PC's

Help with Communicating with additional PC's

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    :doh: Iam new to programming in .NET's C++ and I am a little puzzeled on how to perform the following Objective: I need to have a main PC communicate with to other PC's. The information I need from the additional PC's is what is currently running(i.e. windows programs, etc.) and send a message back. After that I need to have the main PC shutdown or shutdown/reboot the additional PC's and or the main PC I know I know how to perform the Shutdown or shutdown/reboot. How do I communicate with the other PC's to tell me what is running on them? Is there anything that I can research which will help me? Thank you for your help

    T 1 Reply Last reply
    0
    • L Lost User

      :doh: Iam new to programming in .NET's C++ and I am a little puzzeled on how to perform the following Objective: I need to have a main PC communicate with to other PC's. The information I need from the additional PC's is what is currently running(i.e. windows programs, etc.) and send a message back. After that I need to have the main PC shutdown or shutdown/reboot the additional PC's and or the main PC I know I know how to perform the Shutdown or shutdown/reboot. How do I communicate with the other PC's to tell me what is running on them? Is there anything that I can research which will help me? Thank you for your help

      T Offline
      T Offline
      tmangan
      wrote on last edited by
      #2

      You might use the windows performance monitor api. If you have used the windows performance monitor, you know that you can look at a report of what processes are running. Look at WMI. Alternatively, rather than query for all that info and make a remote decision, why not signal a check on the computer to be shut down? You would write a service that would run on the shutdown-able PCs. There are multiple ways to signal the remote service, however since you probably are interested in signalling all such PCs, a mailslot (using a * for the coputer name) may be the easiest approach. Obviously, I'm not providing details here, but direction for further research on your part. tim tim Founder, TMurgent Technologies www.tmurgent.com tmangan@tmurgent.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups