Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Named Pipes in C++

Reply
Thread Tools

Named Pipes in C++

 
 
Prathap
Guest
Posts: n/a
 
      08-01-2007
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

 
Reply With Quote
 
 
 
 
James Kanze
Guest
Posts: n/a
 
      08-01-2007
Prathap wrote:

> 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.


It has nothing to do with C++; C++ as such doesn't know anything
about named pipes. You'll have to check with a group specific
to your OS. (On some OS's, of course, you can use a named pipe
exactly as if it were a file, e.g. with [io]fstream. Even then,
however, you'd probably have to be careful about flushing and
such. I'm not sure that the use would be totally transparent.)

--
James Kanze (GABI Software) email:
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

 
Reply With Quote
 
 
 
 
anon
Guest
Posts: n/a
 
      08-01-2007
Prathap wrote:
> 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


This has nothing to do with c++

> 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.


http://www.linuxhq.com/guides/LPG/node7.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP .NET Session State : Named Pipes Provider, error: 40 J.G. ASP .Net 0 03-09-2006 08:30 PM
"Named Pipes Provider: The network path was not found" error xz ASP .Net 0 01-20-2005 05:05 AM
named pipes Andrey Romanenko Java 3 10-04-2004 08:35 AM
IPC Mechanism Named pipes or Windows messages or sthg else ? piyush ASP .Net 0 07-14-2004 02:41 PM
Using named pipes in Java maximax Java 2 02-19-2004 01:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57