[Mono-list] Simple Interprocess Communication?
"Andrés G. Aragoneses"
knocte at gmail.com
Wed Jan 28 11:48:56 EST 2009
Remoting with IPC channel?
Regards,
Andrés
Sascha Leib wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list