apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: apr_file_namedpipe_create()
Date Mon, 01 Sep 2003 13:05:03 GMT
On Mon, 1 Sep 2003 02:18:39 -0400 (EDT), Cliff Woolley wrote:

>What are people's feelings about apr_file_namedpipe_create()?  It is only
>implemented on Unix.  OS/2 and Netware have "implementations", but only in
>the sense that the function exists.  It returns APR_ENOTIMPL.  Win32
>doesn't even seem to have that much.
>Sander tells me that Win32 actually does have /some/ sort of NamedPipe
>functionality, but the API is apparently different.  I don't know how
>different exactly.
>I remember all of this being discussed on this list at some point in the
>very very distant past, but... it obviously didn't get us too far.
>Further comments?

Named pipes work rather differently on Win32 & OS/2 (don't know what
Netware has). They don't live in the file system like they do on unix, they
only exist while there is a server process running bound to the pipe much
like a TCP listening port. They even work across a network. 

This is why I wrote "interface not suitable" in the OS/2 code as the
apr_file_namedpipe_create() parameters assume a file system based named

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |

View raw message