simplest way of inter application communication?

devj

New member
Joined
Feb 27, 2008
Messages
4
Programming Experience
10+
What is the easiest way (least code) for sending a string from one running application to another running application?

Performance and security are no issues.
 
Well, you have a couple of options. If both are .NET applications, you can use remoting. If both aren't .NET applications, or you don't want to use remoting, you can use sockets.
 
Thanks. If I use sockets, should I use TcpClient and TcpListener?

How do I address the host and through what port, without encountering all sorts of internet connection/security/firewall problems?
 
Yes, use TcpClient and TcpListener. The only way to not encounter firewall problems is to use a port that is already allowed on the firewall or setting it up to allow access on whatever port you plan on using.
 
Back
Top