0
我想与使用WCF NamedPipe IPC的两个应用程序进行通信,因为某些信息或app.config中使用的地址不正确,所以服务器和客户端之间的连接未建立。WCF NamedPipe IPC通信
我想有些东西因为通讯未建立而丢失,请帮忙?
例如: 服务器端
<system.serviceModel>
<services>
<service name="IService1">
<endpoint address="net.pipe://localhost/Service1"
binding="netNamedPipeBinding"
contract="NamedPipeService.IService1"
name="ConsoleServiceEndpoint" />
</service>
</services>
</system.serviceModel>
客户端:
<system.serviceModel>
<client>
<endpoint address="net.pipe://localhost/Service1"
binding="netNamedPipeBinding" contract="NamedPipeService.IService1" name="ConsoleServiceEndpoint" />
</client>
请问你能完成这个问题吗? – leppie 2013-02-11 16:07:11
客户端和服务器在同一个盒子上吗?你知道NamedPipe只是同一个盒子吗? – Paparazzi 2013-02-11 16:43:36
嗨客户端和服务器在同一台计算机上,但不包含在同一个解决方案中。 – 2013-02-12 09:48:19