1.到底用几根竖线?
2."."表示什么含义,本机?
3.这个UNC地址创建出来了以后,CreateNamedPipe到底干了什么事情,使得其他的机器可以通过这个名称连接到它? 是监听了一个特定的端口号? 命名管道是如何被其他的机器连上的?很想了解一下这里面的原理或者机制。谢谢!!!!!

解决方案 »

  1.   

    1。 \\\\.\\pipe
    2。 本地主机
    3。Creates an instance of a named pipe and returns a handle for subsequent pipe operations. A named pipe server process uses this function either to create the first instance of a specific named pipe and establish its basic attributes or to create a new instance of an existing named pipe.
      

  2.   

    高人,"CreateNamedPipe到底干了什么事情,使得其他的机器可以通过这个名称连接到它? "它是监听了端口? 共享了一个文件? 还是干了什么。我的意思是,假设它是监听了端口,那就是比socket更高层的通信了,那么这个pipe就可以在其他操作系统用socket来连接了。如果是MS的某种协议,或者是,依赖于"域"来作不同主机间的通信?谢谢,请执教!!!!!
      

  3.   

    Question1:\\\\.\\pipe
    Question2:本地主机
    Question3:管道通讯是进程间通讯的一种方式,至于你要想知道为什么它可以找到要找到的主机进行通讯,建议你去看下重定向器和网络提供者,这样你就会知道答案了
      

  4.   

    重定向器和网络提供者,嗯,这个我在Windows网络编程上面找到了。去研究去了!!!!!