
- #REMOTE MONITORING CLIENT SERVER NAME FULL#
- #REMOTE MONITORING CLIENT SERVER NAME CODE#
- #REMOTE MONITORING CLIENT SERVER NAME SERIES#
- #REMOTE MONITORING CLIENT SERVER NAME WINDOWS#
Let’s wrap that into a something practical. When you create a Named Pipe, let’s say we call it ‘fpipe’, under the hood you’re creating a FILE_OBJECT with your given name of ‘fpipe’ (hence: named pipe) on a special device drive called ‘pipe’.

#REMOTE MONITORING CLIENT SERVER NAME FULL#
To enable us to use the full feature set of pipes, we’ll move away from Anonymous Pipes and create a Server and a Client that talk to each other.Ī Named Pipe simply is an Object, more specifically a FILE_OBJECT, that is managed by a special file system, the Named Pipe File System (NPFS):

#REMOTE MONITORING CLIENT SERVER NAME WINDOWS#
That’s an example of an anonymous pipe.Ī Windows based Named Pipe is as easily understood as the above example. A command that outputs the contents of file.txt, but instead of displaying the output to STDOUT (which could be your terminal window) the output is redirected (“piped”) to the input of your second command wc -l, which thereby counts the lines of your file. If you’re a Unix user you sure have used pipes before (as this is not a pure Windows technology) with something like this:Ĭat file.txt | wc -l. That’s all a Named Pipe does, it transports information from one end to another. When you’ve never heard of Named Pipes before imaging this communication technology like a real, steel pipe - you got a hollow bar with two ends and if you shout something into one end a listener will hear your words on the other end. Named Pipe MessagingĪlright so let’s break things down to get a hold of Named Pipe internals.
#REMOTE MONITORING CLIENT SERVER NAME CODE#
Whenever you feel you want some more context around the snippets head over to the code repo and review the bigger picture.

It’s hart to pin down the exact release date named pipes were introduced to Windows, but at least it can be said that it must have been supported in Windows 3.1 in 1992 - as this support is stated in the Windows/DOS Developer’s Journal Volume 4, so it’s fair to assume named pipes have been added to Windows in the early 1990’s.īefore we dive into the Named Pipe internals, please take note that a few code snippets will follow that are taken from my public Named Pipe Sample Implementation. To add some historical background for Named Pipes: Named Pipes originated from the OS/2 times. As Named Pipes are most relevant and support the full feature set, this post will focus only on Named Pipes. This also implies: Pipe communication can be between two processes on the same system (with named and anonymous pipes), but can also be made across machine boundaries (only named pipes can talk across machine boundaries). Most of the time when speaking about pipes you’re likely referring to Named Pipes as these offer the full feature set, where anonymous pipes are mostly used for child-parent communications. To term this correctly right from the beginning, the IPC technology we’re speaking about is called ‘pipes’ and there are two types of pipes:

#REMOTE MONITORING CLIENT SERVER NAME SERIES#
Initially this series will cover the following topics:Ī few IPC technology components are therefore left out, but I might append this series sometime and include for example some of these: This post marks the start of a series of posts about the internals and interesting bits of various Windows based Inter- Process- Communication (IPC) technology components.
