Does a client only connect to one server?
qinglok opened this issue · 1 comments
qinglok commented
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();