List up available named pipes?
-
Just wanted to know if there is some possibility to list all registered named pipes on a machine? WCF allows working with named pipes for IPC, but it seems that named pipes are just good to connect to one specific process/pipe. A n:n relation of clients and servers seems hardly to realize, if you cannot have a look for registered pipes and to find those that have part of some ID in their name... And ideas? Maybe sharing some pipe would allow to provide some classes to multiple clients? Cheers, Roland
-
Just wanted to know if there is some possibility to list all registered named pipes on a machine? WCF allows working with named pipes for IPC, but it seems that named pipes are just good to connect to one specific process/pipe. A n:n relation of clients and servers seems hardly to realize, if you cannot have a look for registered pipes and to find those that have part of some ID in their name... And ideas? Maybe sharing some pipe would allow to provide some classes to multiple clients? Cheers, Roland
Don Rolando wrote:
Just wanted to know if there is some possibility to list all registered named pipes on a machine?
Bing search on "enumerate named pipes" yields some interesting reading... Exploring the WCF Named Pipe Binding[^] Code to enumerate Windows Named Pipes in C and Basic[^] Enumerating Named Pipes in Windows[^] Named pipes transport in WCF is only good for one way or duplex IPC on the same machine, so how many clients do you need? Also, named pipes does allow multiple clients. Also see Choosing a Transport[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
modified on Tuesday, July 5, 2011 7:09 PM