New Member FAQ | Forums | Earn Revenue | Posting Guidelines | Help Topics | Admissions 2013
Awards & Gifts
 
Login Login    Register      

ArticlesPractice TestsAsk ExpertsQuestion PapersJobsUniversitiesCollegesCoursesSchoolsTraining

Active Members
TodayLast 7 Daysmore...

Join our online Google+ community for Bloggers, Content Writers and Webmasters




Ask Experts » Computers » Software »

Network project in c++

Date: 22 Aug 2011   Group: Computers    Category: Software   


Hello sir/madam,
I am MCA student. I want to do a networking project-"Process dispatcher" in c++.
Basic idea behind this project is-There are many computers connected to each other in LAN. On server machine,admin should be able to view each of the client's running processes and admin should have rights to end/kill any unwanted process on client's machine.
This can be useful for e.g.-during computer practicals,online exams one should not be able to open any browser for copy purpose etc.
So my question is can we implement such idea in c++?If yes,plz guide me ho to do that as soon as possible.



Find Answers

Author: arumugapandian    10 Sep 2012      Member Level: Bronze     Points : 3  (Rs 2)    Voting Score: 0
Yes, You can do this in C++.

Please find the details below.

To connecto any server : use
HANDLE hServer = WTSOpenServer(char *ServerName);
This returns the handle to the server.

With this handle, enumerate the process on the server machine using the api

DWORD pCount = 0;
PWTS_PROCESS_INFO ppProcessInfo,pProcess;

WTSEnumerateProcesses (hServer,0,1,&ppProcessInfo,&pCount);

for(int i = 0; i < pCount; i++)
{
pProcess->pProcessName;
pProcess++;
}


Answers      





Post answer or solution to "Network project in c++"

You can earn revenue online from Google AdSense and our revenue sharing programs by post valid, self written answers for the problem Network project in c++




You must Sign In to post a response.


Next Question: How can I access memory heap through a C program?
Previous Question: Open source operating system and utilities
Return to Question Index
Ask Question to Expert
Category:


 
Related Questions
Popular Tags   What are tags ?   Search Tags  
Network project in c++  .  

Subscribe to Email
  • Get Jobs by Email
  • Forum posts by Email
  • Articles by Email
  • Online MembersT Syed Rizwan
    Jebaprincy
    Stalin.J
    Naveed Ahmed
    araviraji
    Meenu
    Ashish Kumar
    Gypsy
    yash
    Venkatesh damalapati
    pravinkumar
    More...


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    AdSense Revenue Sharing sites   Advertise   Talk to Tony John
    ISC Technologies, Kochi - India. Copyright © All Rights Reserved.