What is named pipes?

Source: Internet
Author: User

Named Pipe is a named one-way or two-way communication pipeline established between pipe server and one (or more) pipe client. all instances of a named pipeline share the same pipe name, but each instance has its own buffer and handle (handle ), A separate catheter is provided for client/server communication. this instance makes it possible for multiple pipe clients to use the same named pipe at the same time.

 

Any process can access the named MPs queue and perform security checks. This makes the named MPs queue a simple method for communication between associated and non-associated processes.

 

Any process can act as both a server and a client, which makes peer-to-peer communication possible. as used here, the term "pipe server" refers to the process for creating named pipe. The term "pipe client" refers to the process connecting to a named pipe instance. the function for the server to instantiate a named pipe is calledCreatenamedpipeThe function used by the server to receive a connection request is calledConnectnamedpipeThe client usesCreatefileOrCallnamedpipeFunction to connect to the named pipe.

 

A named pipe can be used to provide communication between different processes on the same machine, or to provide inter-process communication between different machines through the network. if a server is running, all named pipelines can be remotely connected. if you only want to use Named Pipe locally, You can reject access from the nt authority \ Network account or use the local rpc.

 

Named Pipe is a network protocol of Server Message Block (SMB) Suite, which is shared based on inter-process communication (IPC. using smb ipc can seamlessly and transparently transfer user authentication information to the named pipeline. that is, the security check is completely feasible for named pipe.

 

What is SMB?

==============================

SMB is an important network protocol, because a PC usually has clients or server processes running. all Windows operating systems are running either as a client or as a server or both.

Server Message Block (SMB) is a protocol that can share files, printers, and special ports. It provides abstract communication protocols such as Named Pipe and mail slot.

For more information, see <just what is SMB?>.

 

If Named Pipe reports an error, it may be that SMB has a problem.

 

How can I determine if there is a problem with SMB?

==============================

Run the following command.

Net use \ Server

If this operation fails, it indicates that SMB is faulty. Check your firewall to see if the port used by SMB is blocked.

 

References

====================

Named Pipes

Http://msdn.microsoft.com/en-us/library/windows/desktop/aa365590%28v=vs.85%29.aspx

Named Pipe

Http://en.wikipedia.org/wiki/Named_pipe

Just what is SMB?

Http://www.samba.org/cifs/docs/what-is-smb.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.