Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making two programs talk with each other

My group in the university are working on a project, which includes us making a C# program. We have a vision of making a server side console program that is constantly calculating data and then make a client side program that can fetch the data from our server side program. The client side program will then be able to display the data and the user is able to navigate forth and back around the data. Both of these programs will be run on the same computer solely for exercise purpose.

I am wondering how I can get data from the server side program and be able to display it on the client side program.

like image 374
darophi Avatar asked Jul 15 '26 17:07

darophi


1 Answers

If both client and server are always on the same machine, there is no need at all to use WCF or Sockets. You can use named pipes for the interprocess communication.

If you're trying to do a more serious client/server application, I recommend you to try Redis which provides a lot of remote features like pub/sub and caching, so you'll avoid reinventing the wheel.

like image 191
thepirat000 Avatar answered Jul 17 '26 15:07

thepirat000