This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CYGWIN SERVER: Some questions


On Mon, Sep 03, 2001 at 11:51:16PM +0200, Corinna Vinschen wrote:
>On Mon, Sep 03, 2001 at 03:55:26PM -0400, Christopher Faylor wrote:
>> On Mon, Sep 03, 2001 at 05:42:51PM +0200, Corinna Vinschen wrote:
>> >> How about mailboxes as the communication mechanism?  They share many
>> >> of the characteristics of named pipes, I believe but *I think* they
>> >> work on Windows 95.
>> >
>> >I'm not quite sure about the seriousness of this mail but if you
>> >refer to mailslots... they are just a one-way mechanism to push
>> >some data to another process. No real `communication' at all.
>> 
>> Oops.  Yes, I meant mail slots.  They are one directional, but so are
>> pipes.  You just open one mail slot for each direction.  Or, you use it
>> to synchronize a shared memory region.
>
>Named pipes under NT can be bidirectional by giving the
>PIPE_ACCESS_DUPLEX flag in call to CreateNamedPipe().

But we can't use named pipes.

>Mailslots have no security mechanism so they wouldn't be the
>TL I would choose for NT/W2K/XP.

Don't mail slots have the same security mechanism as files?

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]