| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Prathap" |
| Date: |
01 Aug 2007 01:56:44 AM |
| Object: |
Named Pipes in C++ |
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
.
|
|
| User: "anon" |
|
| Title: Re: Named Pipes in C++ |
01 Aug 2007 03:54:27 AM |
|
|
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
.
|
|
|
|
| User: "James Kanze" |
|
| Title: Re: Named Pipes in C++ |
01 Aug 2007 02:46:50 AM |
|
|
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:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
.
|
|
|
|

|
Related Articles |
|
|