Click here to Skip to main content
15,923,120 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In short what I which to know is whether pipes can be used across internet connection.
That is , if process A is running on system A creates a named pipe, can process B on system B connect to the named pipe is the only thing that links the two system together is the internet?
Posted
Comments
Albert Holguin 30-Nov-11 10:12am    
Sockets are your best bet for communicating over the internet... and they also have the added plus that they still work locally (intranet or even on the same machine).

Named pipes require RPC connections, so the two computers need to be able to connect with out firewalls.

It is possible to connect via the internet if you are connecting to the IP address, and the RPC ports are open (at least : 137,139,447).
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Nov-11 14:04pm    
My 5.

However, I worked with named pipes only recently, but on the same machine (communication between .NET - C++ processes), and never tried it via network but clearly remember that it was indicated in documentation as a valid option. That said, your answer might not be descriptive enough. If I was OP, I would ask you some additional information on how to establish such connection between different hosts, or a reference.

So, OP may want to ask you about some clarification on this matter.
--SA
Mehdi Gholam 29-Nov-11 14:21pm    
Named pipes are definitely a pain in the nether regions, I used them once for speed but it wasn't worth the maintenance cost for operations as they require authentication even before connecting. I have switched to TCP since then (my WCF Killer article).

Thanks Sergey.
#realJSOP 29-Nov-11 14:16pm    
So, would YOU want to open your firewalls? Would the remote site? I doubt it. Named pipes are intended for intranets and shouldn't be used across the internet.
Mehdi Gholam 29-Nov-11 14:23pm    
Absolutely not, I agree completely, as I was saying to SA they even require authentication for non domain computers before connecting.
Named pipes are not routable on the internet.

EDIT ==================

I don't know why this was 1-voted. The information is factual.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900