Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Communicating Between .NET Programs

Tags:

c#

.net

I wanted to set up a simple data communication between two C# applications, and I'm not sure what the best method is in doing so. I've previously used Java Sockets and ServerSockets to get the job done, but I'm new to C#, so I've come for advice :) It's going to be two way communication with two clients exchanging strings or something of the like.

like image 255
IronManIngellis Avatar asked Jun 04 '26 11:06

IronManIngellis


2 Answers

WCF (Windows Communication Foundation) is what you want.

like image 55
Jaxidian Avatar answered Jun 08 '26 00:06

Jaxidian


You have several options:

  1. Using pipes
  2. Using sockets
  3. WCF
like image 32
Giorgi Avatar answered Jun 08 '26 00:06

Giorgi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!