[Mono-list] IPC Scenario between a service and a web page
robertj at gmx.net
Fri Nov 2 16:47:49 EDT 2007
Vasili Sviridov wrote:
> Hello all,
> I have a service which performs TCP/IP data exchange with multiple clients.
> I also have a web page, on which I'd like to have a "ping" button, that
> should tell the service to send a certain packet to the client and
> return a response.
> My question is - what's the best way to implement this?
> I've found an implementation of named pipes by Ivan Latunov, but it
> looks like its windows only. Currently that's OK, but i know for sure
> that the project will be moved to linux entirely.
> Is there an implementation that's lightweight and works on both runtimes?
You could use .NET Remoting with IPC channels. That's .NET 2.0 only,
though. See System.Runtime.Remoting.IpcChannel on MSDN.
OTOH, since you already have a TCP/IP service, why don't you access
it via localhost?
More information about the Mono-list