delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/24/04:51:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 24 Dec 2000 10:50:41 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: get windows messages
Message-ID: <20001224105041.A7901@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin AT cygwin DOT com>
References: <0012201413240R DOT 28008 AT cygbert> <200012240409 DOT UAA20384 AT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0.1i
In-Reply-To: <200012240409.UAA20384@cygnus.com>; from dave@dtsp.co.nz on Sun, Dec 24, 2000 at 05:10:29PM +1300

On Sun, Dec 24, 2000 at 05:10:29PM +1300, Dave Sainty wrote:
> Corinna Vinschen writes:
> > from the Cygwin source code:
> > 
> >         open ("/dev/windows", flags, mode=3D0)
> >                 - create a unix fd for message queue.
> 
> I know this is a bit after the fact, but wouldn't some kind of special
> "socket" domain/family have been more appropriate here?
> 
> x = socket(PF_WINMSG, SOCK_DGRAM, 0);

The /dev/windows implementation is made by Sergey Okhapkin once
when he still has contributed to Cygwin.

I have in fact no opinion here. The joke is that both solutions
(device/socket) aren't inconsistent with each other in Cygwin. 

Feel free to contribute a special socket code for the windows
message queue.

Corinna 

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019