Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Mon, 3 Sep 2001 20:53:57 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: CYGWIN SERVER: Some questions Message-ID: <20010903205357.B3480@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20010903140332 DOT C23714 AT cygbert DOT vinschen DOT de> <20010903105746 DOT B2024 AT redhat DOT com> <20010903174251 DOT E30211 AT cygbert DOT vinschen DOT de> <20010903155526 DOT B2523 AT redhat DOT com> <20010903235116 DOT A2421 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010903235116.A2421@cygbert.vinschen.de> User-Agent: Mutt/1.3.21i 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