473,795 Members | 3,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to find named pipes

Hi all,

I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?

Thanks
Dec 11 '07 #1
3 5037

"DBC User" <db*****@gmail. comwrote in message
news:b5******** *************** ***********@w40 g2000hsb.google groups.com...
Hi all,

I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?
CreateFile with the device path to the pipe and OPEN_EXISTING should tell
you whether it exists or not (you'll either succeed, in which case it
existed, or fail with access denied, in which case it existed, or fail with
file not found, if it didn't exist).
>
Thanks

Dec 11 '07 #2
"DBC User" <db*****@gmail. comwrote in message
news:b5******** *************** ***********@w40 g2000hsb.google groups.com...
Hi all,

I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?

Thanks


Use the "processexplore r" from
http://www.microsoft.com/technet/sys...sexplorer.mspx.
Select a process in the list and View Handles (Cntrl + H) and search for a
File handle with the device name of the named pipe you are looking for
(\Device\Named Pipe\....).

Willy.

Dec 11 '07 #3
On Dec 11, 5:37 pm, "Willy Denoyette [MVP]"
<willy.denoye.. .@telenet.bewro te:
"DBC User" <dbcu...@gmail. comwrote in message

news:b5******** *************** ***********@w40 g2000hsb.google groups.com...
Hi all,
I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?
Thanks

Use the "processexplore r" fromhttp://www.microsoft.c om/technet/sysinternals/utilities/processexplor.. ..
Select a process in the list and View Handles (Cntrl + H) and search for a
File handle with the device name of the named pipe you are looking for
(\Device\Named Pipe\....).

Willy.
Thank you very much for everyone for the suggestions. This gave me lot
of insight into Named Pipe itself :)
Dec 12 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5293
by: Matt W | last post by:
Hi all, I just noticed this in the manual yesterday: http://www.mysql.com/doc/en/Windows_running.html "MySQL supports TCP/IP on all Windows platforms. The mysqld-nt and mysql-max-nt servers support named pipes on NT, 2000, and XP. The default is to use TCP/IP regardless of the platform, because named pipes are actually *slower* than TCP/IP ..."
5
16826
by: rajnish | last post by:
Hi Gurus, I am a newbee in C++ field. And I have been assigned to complete a task of create a template class, so that names pipes can be created using this template. I don't have a clue from where to start ... I would be thankful if you could provide my any such template or refernce to start. Best regards,
5
18145
by: glenn.owens | last post by:
In the process of doing some routine monitoring/clean-up we've discovered that several (many?) users are apparently set to access our SQL Server 2000 database instances via the Named Pipes protocol. In readings and recommendations we've decided that our WAN would be best served if we use the less "chatty" TCP/IP. As such we've also decided to try to enforce this decision to use TCP/IP exclusively using the domain login script used by all...
2
2716
by: Rudolf Bargholz | last post by:
Hi, DB2 7.1 FP11 Windows 2000 Earlier this evening, after dropping and recreating a trigger, DB2 locked up. I am not entirely sure that the cause of the problem was the replacing of the trigger, but all of a sudden no users were able to connect to our customers database. After running db2dart I found numerous corrupted indexes which I removed using "db2dart MYDB /IM". Finally I was able to get a
1
1681
by: Jarrod Morrison | last post by:
Hi All Im looking for a way use named pipes between a service app and an app run when a user logs on and be able to pass string based data, im hoping that the service can contact the app that is running in the user session and tell it a path of an app to launch as the logged on user. Does anybody know of an easy way to do this or have any examples i could look at ? Any help is greatly appreciated Many thanks
1
2133
by: Jarrod Morrison | last post by:
Hello all Ive been trying to get a service app that i run to interact with the logged on user of the machine and so far havent been very successfull and have read that maybe named pipes is the way to go. Im hoping someone has some information and easy to understand examples on named pipes. Basically i need my service app to signal a user app thats running and send basic text to it. Any help is greatly appreciated Thanks
2
5522
by: Prathap | last post by:
Hi, I am a newbie to c++ and I am looking for examples in using pipes for IPC communication. My two processes are independent and they cannot use a unnamed pipe, so I am looking for examples that can teach me about named pipe. I Googled a little and nothing turned out useful. Any pointers appreciated. thanks ~ Prathap
2
2546
by: fahad.usman | last post by:
I am making an application in which if the second instance of the same application is launched, it checks its command-line arguments and passes them to the already running instance. I have been told by someone that using named pipes is one of the most commonly used ways of doing this. But I did it in a simpler way; I saved the command-line arguments in a text file and passed a message to the previously running instance to read the...
1
5565
by: dgk | last post by:
I trying to use a named pipe but can't figure out how to get the callback to work: Module Module1 Private ps As System.IO.Pipes.NamedPipeServerStream Public Sub main() Application.EnableVisualStyles() Try ps = New System.IO.Pipes.NamedPipeServerStream("Test") ps.BeginWaitForConnection(AddressOf HandleConnection, "Test")
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.