jjzjj

clientPipe

全部标签

.net - NamedpipeClientStream 无法连接,一直超时

我有一个主要基于以下内容编写的Namedpipeserver:http://msdn.microsoft.com/en-us/library/windows/desktop/aa365588(v=vs.85).aspx当我尝试使用此代码从.NET客户端连接到它时:NamedPipeClientStreamclientPipe=newNamedPipeClientStream(".","\\\\.\\pipe\\TTCUIHELPER_SEND_TTC_RECEIVE",PipeDirection.Out);try{if(clientPipe!=null){clientPipe.Conn