S
S
Space Around2020-09-04 19:45:13
Remote access
Space Around, 2020-09-04 19:45:13

How to write a program for remote control of a PC in c++?

There is a desire to write such a program, description: the program will be in c ++, it will send commands to a remote PC (located on another network), there will be a program on the remote PC that will receive commands and execute them in powershell.
What technologies/libraries should be used to implement the program?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ananiev, 2020-09-04
@SaNNy32

In the general case, it is necessary to observe the condition of accessibility of computers from different networks. If the networks are connected to each other via the Internet, then two options are possible:
1. Both computers have a white IP address
2. There is an intermediate server that is accessible from each network and which can be an intermediary in the interaction between computers.
Further, using ordinary sockets, a connection is created between computers using the tcp protocol (or between computers and an intermediate server) and one can send commands to another.
As a framework for data, I can advise Qt, because there the network stack is well implemented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question