Using c++ ifstream with named pipe

Using c++ ifstream with named pipe

Post by John Burto » Mon, 22 Feb 1999 04:00:00



Is there any reason why I can't do this to read from a named pipe :-

   ifstream is ("my_pipe");

   is >> var1 >> var2;

(I know I'd want some error handling for a real application).

It seems to work with a named pipe, but is there anything of which I need
to be aware?

 
 
 

1. Any compatibility between Unix Named Pipes and NT Named Pipes??

Is there any compatibility (or libraries to give same functionality)
between unix (specifically OpenStep but general solutions OK) and WinNT
with NAMED PIPEs?  I have a need to have the Named Pipe functionality for
talking between Named Pipes on both platforms.

Thanks
Chad

2. Meditech Magic

3. How do I use Named Pipes in Unix C++

4. Compaq 4540 Bios problem w. RH 5.0

5. How do I use Named Pipes in Unix C++?

6. make utility

7. How do I use Named Pipes in Unix C++

8. How to forward emails in unix?

9. non blocking input from terminal devices with C++ ifstream

10. Named Pipes in C++

11. named pipes in C++

12. C++ std::ifstream(int fd) constructor POSIX compliant?

13. Q: using named pipe in kernel-module2