BT

Named Pipe Support added to Visual Studio Orcas

| by Jonathan Allen Follow 577 Followers on Nov 01, 2006. Estimated reading time: less than one minute |

The next version of Visual Studio will include named pipe support. Named pipes are the traditional way to handle inter-process communication in Windows. While largely replaced by TCP, they still have some advantages over other communication methods.

As the name implies, they are named. TCP ports are numeric, meaning that care must be taken to ensure two applications don't share the same port. With named pipes, it is easy to reduce the chance of collision by prefixing a company or application name to the pipe.

Like other files and resources, named pipes can also be secured using an access control list.

Anonymous pipes will also be supported. These are one-way pipes normally used to transfer data between a parent and child process. Unlike names pipes, they cannot be used over a network.

Generally speaking, TCP is much faster than pipes, especially when network speed is an issue. Microsoft recommends using TCP when communicating over slow LAN, WAN, or dial-up networks. When communication is occurring between processes on a single machine, pipes run in kernel mode and are extremely fast.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT