I need to introduce IPC in my applications, I also need to continue to distribute on GNU/Linux and Windows (currently I’m using mono on GNU/Linux and .NET on Windows with GTK+ support on both). Communication is limited on the same box.
Which is the best way to do IPC on both systems?
I read that DBUS is available also on Windows with the mainstream source code. Anyone has exprerience in using it, on windows I mean?
Thanks in advance to all of you.
I would simply use Remoting.
Just because the other options suck:
WCF is very limited in Mono
DBus has its problems as Rolf says; not to mention the C# story with it is a bit clunky, i.e.: the best solution is using managed Dbus, which you can with NDesk.Dbus, but this library got renamed to dbus-sharp; but the Gnome world are moving to use GDbus, and there’s no binding for it yet.
Socket, as proposed by Rolf, is too low level for my taste.