[Mono-list] Simple Interprocess Communication?

Sascha Leib sascha.leib at gmail.com
Wed Jan 28 10:51:45 EST 2009


Hello all,

sorry if this has been asked before.

What is the cleanest (read: platform-independentest :-) way to communicate
with another instance of the same program.

What I want to achieve is the following: my app can handle multiple windows,
so when the user re-launches another instance of the application, it should
just notify the already running instance to open a new window, and exit
(that is, unless he uses a specific command line switch, but that's another
story...)

Sounds simple enough. However, all examples I could find in the Internet
involve either some nasty pInvokes or even ghastlier things like
communicating via a Port or worse.

There must be some simple and elegant way to achieve this. Any ideas?

Thanks a lot in advance

/sascha
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sascha René Leib
http://www.sascha-leib.de/
sascha (dot) leib (at) gmail (dot) com
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
The biggest cause of trouble in the world today is that the stupid
people are so sure about things and the intelligent folks are so full
of doubts.
                     ~ Bertrand Arthur William Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090128/cddb401f/attachment.html 


More information about the Mono-list mailing list