[Mono-dev] Interprocess communication

2007-12-26 Thread FirstName LastName
Hi, I'm currently trying to find a way to make 2 processes on the same machine talk. One process is managed while the other is unmanaged. How can I do this? Thanks! _ Use fowl language with Chicktionary. Click here to start play

Re: [Mono-dev] Interprocess communication

2007-12-26 Thread Justin Cherniak
Unfortunately as far as I know there is no easy one off way to do this. That said, if you are communicating to an unmanaged process, I would assume it is a safe assumption to assume you are targeting a particular operating system. I can't help you much with *nix, but on windows, you have a number

Re: [Mono-dev] Interprocess communication

2007-12-26 Thread Steve Bjorg
You could use TcpSocket or HttpListener over localhost (loopback). Using HttpListener is rather straightforward: string connectionEndPoint = "http://localhost:";; //*** setting up the listener *** HttpListener listener = new HttpListener(); listener.Prefixes.Add(connectionEndPoint); liste

Re: [Mono-dev] Interprocess communication

2007-12-26 Thread Justin Cherniak
Thats not a bad idea, didn't think of it...but its a little tricker to do the other side from unmanaged code. Again I'm not sure how to work it on *nix, but on Windows, you can use the same APIs that HttpListener uses from unmanaged code using the HTTP Server API (see http://msdn2.microsoft.com/en

Re: [Mono-dev] Interprocess communication

2007-12-27 Thread Andrés G. Aragoneses [ knocte ]
I would rather use Remoting with IPC channels, in the managed side using Mono/.NET API's, and in the unmanaged side using Mono/.NET API's via [1]. Regards, Andrés [ knocte ] [1] http://www.mono-project.com/Embedding_Mono Justin Cherniak escribió: > Unfortunately as far as I know the

Re: [Mono-dev] Interprocess communication

2007-12-27 Thread FirstName LastName
What I'm trying to do is to make 2 processes talk on the same machine using a linux OS. The managed process will act as the master and the unmanaged process will act like the slave. The type of communication I wish to use would be something easy to use like in .NET such as COM objects. This

Re: [Mono-dev] Interprocess communication

2007-12-27 Thread pablosantosluac
Yes, remoting is "similar to com", but a full road ahead! - Original Message - From: FirstName LastName To: Justin Cherniak ; Steve Bjorg Cc: mono-devel Sent: Thursday, December 27, 2007 4:48 PM Subject: Re: [Mono-dev] Interprocess communication What I'm

Re: [Mono-dev] Interprocess communication

2007-12-27 Thread Miguel de Icaza
> > I'm currently trying to find a way to make 2 processes on the same > machine talk. > > One process is managed while the other is unmanaged. How can I do > this? Another option is to use D-Bus. ___ Mono-devel-list mailing list Mono-devel-list@lis

Re: [Mono-dev] Interprocess communication

2007-12-27 Thread FirstName LastName
I'll look into D-BUS. Thanks! > Subject: Re: [Mono-dev] Interprocess communication> From: [EMAIL PROTECTED]> > To: [EMAIL PROTECTED]> CC: mono-devel-list@lists.ximian.com> Date: Thu, 27 > Dec 2007 13:07:01 -0500> > > > > I'm currently trying to