This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: get windows messages
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Subject: Re: get windows messages
- From: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Sun, 24 Dec 2000 10:50:41 +0100
- References: <0012201413240R.28008@cygbert> <200012240409.UAA20384@cygnus.com>
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@cygwin.com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple