Search code examples
c++serviceprocessclient-serverremotecommand

Process to process remote communication


I have 2 processes running on 2 different machines. What is the best way to communicate between those to send instructions WITHOUT using any username/password?

Language : C++


Solution

  • There are many solutions with different pros and cons. Try googling for it.

    Since you've not given any other requirements, the simplest way is via socket programming. Check out this https://www.geeksforgeeks.org/socket-programming-cc/ for some basic knowledge and http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html for examples.