Click here to Skip to main content
15,868,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i want to create a software that acts like a remote control(on a LAN connection).
The scenario is i will open the software from Pc1(server) and it will run cmd.exe (or other program) from other computer (PC2)
Posted

In that case.
The problem is i dont know how to connect server software to client.
Can you give some sample code for connecting server software to a client.
to solve/make the problem easily.
 
Share this answer
 
You have to make client/server application, server should run on remote pc and client on local pc i.e pc1, if you just want to open process on remote system then your server should be capable to open new processes when it get commands from client.
 
Share this answer
 
Comments
josh0036 19-Mar-13 8:18am    
In that case.
The problem is i dont know how to connect server software to client.
Can you give some sample code for connecting server software to a client.
to solve/make the problem easily.
Nasir M@hmood 20-Mar-13 0:24am    
If you have network programming background then it is easy for here are some links which can help you

http://www.codeproject.com/Articles/1415/Introduction-to-TCP-client-server-in-C

http://www.codeproject.com/Articles/12286/Simple-Client-server-Interactions-using-C

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900