IpcBinaryProtocol uses named pipes on Windows.
Here is a working sample: ipctest.cs
Server-side:
static void RunServer()
{
var protocol = new IpcBinaryServerProtocolSetup(IpcPortName);
using (var host = new ZyanComponentHost(ZyanHostName, protocol))
{
host.RegisterComponent<ISampleService, SampleService>();
Console.WriteLine("Server started. Press ENTER to quit.");
Console.ReadLine();
}
}
Client-side:
static void RunClient()
{
var protocol = new IpcBinaryClientProtocolSetup();
var url = protocol.FormatUrl(IpcPortName, ZyanHostName);
using (var conn = new ZyanConnection(url, protocol))
{
Console.WriteLine("Connected to server.");
var proxy = conn.CreateProxy<ISampleService>();
}
}