MessagePipe icon indicating copy to clipboard operation
MessagePipe copied to clipboard

Does a client only connect to one server?

Open qinglok opened this issue 1 year ago • 1 comments

I tried doing this, but "temp2 \ socket. tmp" didn't work, "temp1\socket.tmp" and "temp1\socket.tmp" is from two different services:

Host.CreateDefaultBuilder()
    .ConfigureServices((ctx, services) =>
    {
        services.AddMessagePipe()
            .AddTcpInterprocessUds(@"d:\temp1\socket.tmp", x =>
            {
                x.HostAsServer = false; 
            })
            .AddTcpInterprocessUds(@"d:\temp2\socket.tmp", x =>
            {
                x.HostAsServer = false;
            });
    }).Build().Run();

"temp1\socket.tmp" With one socket: image

"temp2\socket.tmp" No sockets: image

qinglok avatar Mar 31 '24 17:03 qinglok

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Sep 28 '24 00:09 github-actions[bot]