Quantcast
Channel: #Zyan Communication Framework
Viewing all articles
Browse latest Browse all 665

New Post: [en] Public key changed since the message was encrypted.

$
0
0
No, this is by design.

Using encrypted duplex TCP channel within the same AppDomain makes no sense.
Please use another protocol for the in-process communication.

You can start several ZyanComponentHost instances with different protocols — one for IPC, another for duplex TCP.
Both component hosts can share the same ComponentCatalog, so ipc host publishes the same components as tcp host:
var tcpProtocol = new TcpDuplexServerProtocolSetup (port, employeeService, true); 
var tcpHost = new ZyanComponentHost ("ITJH", tcpProtocol); // for remote connectionsvar ipcProtocol = new IpcBinaryServerProtocolSetup("AnyPortName");
var ipcHost = new ZyanComponentHost("ITJHIpc", ipcProtocol, tcpHost.ComponentCatalog); // for local machine connections

Viewing all articles
Browse latest Browse all 665

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>