[Pkg-mono-devel] Communication between C++ and C# App on Debian

Mirco Bauer meebey at meebey.net
Tue Mar 11 17:44:08 UTC 2014


[reply inline]

On Tue, Mar 11, 2014 at 5:04 PM, assuncao <assuncao at live.com> wrote:
> Hi,
>
> I'm new on Linux world, but I have already an application developed using C#
> running on Mono. I also have a native C++ application running on the same
> machine and I need send some info between these apps. I would like to know
> what is the best way to do it?

You need IPC like unix sockets, named pipes, shared memory or dbus.

If those options are not portable enough for your needs you can also
use higher abstraction like HTTP REST to do cross-language
interoperability. In case C# is the host/provider then you can use
ServiceStack, for C++ I don't know.

If your deployment is Linux-only, dbus is the easiest approach.
-- 
Best regards,

Mirco 'meebey' Bauer

FOSS Developer          meebey at meebey.net  https://www.meebey.net/
Debian Developer        meebey at debian.org  http://www.debian.org/
GNOME Foundation Member mmmbauer at gnome.org http://www.gnome.org/
PGP-Key ID              0xEEF946C8         https://meebey.net/pubkey.asc



More information about the Pkg-mono-devel mailing list